#6950CC#6950CC
#6950CC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.183 H 287.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6950CC |
|---|---|
| RGB | rgb(105, 80, 204) |
| HSL | hsl(252, 55%, 56%) |
| HSV | hsv(252, 61%, 80%) |
| CMYK | cmyk(48.5%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(42.91, 41.42, -61.12) |
| CIE-LCH | lch(42.91, 73.83, 304.12°) |
| OKLab | oklab(52.53% 0.0555 -0.1749) |
| OKLCH | oklch(52.53% 0.183 287.6) |
| XYZ | xyz(19.5903, 13.0993, 58.6112) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 2.98
Iris
#6258C4
ΔE00 3.06
Bluey Purple
#6241C7
ΔE00 4.13
Dark Periwinkle
#665FD1
ΔE00 4.71
Purpleish Blue
#6140EF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6950CC #B3CC50
analogous
#5075CC #6950CC #A750CC
triadic
#6950CC #CC6950 #50CC69
tetradic
#6950CC #CC5075 #B3CC50 #50CCA7
square
#6950CC #CC5075 #B3CC50 #50CCA7
split-complementary
#6950CC #CCA750 #75CC50
monochromatic
#36247D #4B32AD #6950CC #927FDA #BAAFE8
Accessibility & contrast
On white
5.80
#6950CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6950CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6950CC
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6950CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6950CC | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#476D86
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6950cc; /* rgb */ color: rgb(105, 80, 204); /* oklch */ color: oklch(52.5% 0.183 287.6);
Tailwind
colors: {
custom: {
50: '#9b82dc',
500: '#6950cc',
950: '#000000',
},
}SCSS
$custom: #6950cc; $custom-light: #9b82dc; $custom-dark: #000000;
JSON
{
"hex": "#6950cc",
"rgb": {
"r": 105,
"g": 80,
"b": 204
},
"hsl": {
"h": 252.097,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.5253,
"c": 0.18349,
"h": 287.6
},
"luminance": 0.131
}Semantic roles & 50–950 ramp
primary
#6950CC
secondary
#CBD6A2
accent
#DE4AC0
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83