#7950F2

Royal Blue

#7950F2Royal Blue

Luminance

0.162

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#7950F2
No #
7950F2

RGB

RGB
rgb(121, 80, 242)
Values
R:121 G:80 B:242

HSL

HSL
hsl(255, 86%, 63%)
Values
H:255° S:86% L:63%

HSV / HSB

HSV
hsv(255, 67%, 95%)
Values
H:255° S:67% V:95%

CMYK

CMYK
cmyk(50%, 67%, 0%, 5%)
Values
C:50 M:67 Y:0 K:5

LAB

LAB
lab(47, 55, -76)
Values
L:47 a:55 b:-76

OKLCH

OKLCH
oklch(56.9% 0.229 288.6)
Values
L:56.9% C:0.229 H:288.6°

Code Formats

CSS
color: #7950F2;
Swift
UIColor(red: 0.475, green: 0.314, blue: 0.949, alpha: 1.0)
Kotlin
Color(0xFF7950F2)
Flutter
Color(0xFF7950F2)
Android
#FF7950F2

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.95:1

AA

On Black

4.24:1

AA-large

Grayscale Contrast

Aa

0%

4.2

AA-large
Aa

10%

3.5

AA-large
Aa

20%

2.6

Fail
Aa

30%

1.7

Fail
Aa

40%

1.2

Fail
Aa

50%

1.2

Fail
Aa

60%

1.7

Fail
Aa

70%

2.4

Fail
Aa

80%

3.1

AA-large
Aa

90%

3.9

AA-large
Aa

100%

4.9

AA

Best Grayscale Contrast

#FFFFFF with ratio 4.95:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #C1AEF9 0%, #3F0FCC 100%)
OKLCH
linear-gradient(90deg, oklch(79.4% 0.106 295.5) 0%, oklch(41.7% 0.246 278.4) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #8C66FF 0%, #4B0FFF 100%)
OKLCH
linear-gradient(135deg, oklch(62.8% 0.217 290.2) 0%, oklch(48.6% 0.295 276.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #7950F2 0%, #C9F250 100%)
OKLCH
linear-gradient(90deg, oklch(56.9% 0.229 288.6) 0%, oklch(90.3% 0.189 122.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #5078F2 0%, #7950F2 50%, #C950F2 100%)
OKLCH
linear-gradient(90deg, oklch(60.9% 0.188 267.0) 0%, oklch(56.9% 0.229 288.6) 50%, oklch(65.7% 0.244 316.3) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #6D41F1 0%, #160D30 100%)
OKLCH
linear-gradient(180deg, oklch(53.8% 0.244 286.4) 0%, oklch(19.5% 0.067 290.8) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #A488F6 0%, #4611E4 100%)
OKLCH
radial-gradient(circle, oklch(69.9% 0.158 293.6) 0%, oklch(45.1% 0.269 277.9) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette