#6950E6#6950E6
#6950E6 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.216 H 284.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6950E6 |
|---|---|
| RGB | rgb(105, 80, 230) |
| HSL | hsl(250, 75%, 61%) |
| HSV | hsv(250, 65%, 90%) |
| CMYK | cmyk(54.3%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(44.87, 49.06, -72.79) |
| CIE-LCH | lch(44.87, 87.78, 303.98°) |
| OKLab | oklab(54.57% 0.0532 -0.2092) |
| OKLCH | oklch(54.57% 0.216 284.3) |
| XYZ | xyz(22.9729, 14.4524, 76.4266) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.22
Bluish Purple
#703BE7
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6950E6 #CDE650
analogous
#5082E6 #6950E6 #B450E6
triadic
#6950E6 #E66950 #50E669
tetradic
#6950E6 #E65082 #CDE650 #50E6B4
square
#6950E6 #E65082 #CDE650 #50E6B4
split-complementary
#6950E6 #E6B450 #82E650
monochromatic
#2F17A4 #3E1FDA #6950E6 #9786EE #C5BBF5
Accessibility & contrast
On white
5.40
#6950E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6950E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6950E6
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6950E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6950E6 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#307694
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6950e6; /* rgb */ color: rgb(105, 80, 230); /* oklch */ color: oklch(54.6% 0.216 284.3);
Tailwind
colors: {
custom: {
50: '#9f83ef',
500: '#6950e6',
950: '#000000',
},
}SCSS
$custom: #6950e6; $custom-light: #9f83ef; $custom-dark: #000000;
JSON
{
"hex": "#6950e6",
"rgb": {
"r": 105,
"g": 80,
"b": 230
},
"hsl": {
"h": 250,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.54571,
"c": 0.21584,
"h": 284.3
},
"luminance": 0.14454
}Semantic roles & 50–950 ramp
primary
#6950E6
secondary
#DCE5AC
accent
#D70EB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85