#6950C8#6950C8
#6950C8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.178 H 288.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6950C8 |
|---|---|
| RGB | rgb(105, 80, 200) |
| HSL | hsl(253, 52%, 55%) |
| HSV | hsv(253, 60%, 78%) |
| CMYK | cmyk(47.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(42.63, 40.25, -59.27) |
| CIE-LCH | lch(42.63, 71.64, 304.18°) |
| OKLab | oklab(52.23% 0.0557 -0.1694) |
| OKLCH | oklch(52.23% 0.178 288.2) |
| XYZ | xyz(19.1167, 12.9099, 56.1170) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.05
Light Indigo
#6D5ACF
ΔE00 3.15
Bluey Purple
#6241C7
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6950C8 #AFC850
analogous
#5073C8 #6950C8 #A550C8
triadic
#6950C8 #C86950 #50C869
tetradic
#6950C8 #C85073 #AFC850 #50C8A5
square
#6950C8 #C85073 #AFC850 #50C8A5
split-complementary
#6950C8 #C8A550 #73C850
monochromatic
#372678 #4C34A6 #6950C8 #917FD7 #B9ADE5
Accessibility & contrast
On white
5.86
#6950C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6950C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6950C8
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6950C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6950C8 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#4A6C84
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6950c8; /* rgb */ color: rgb(105, 80, 200); /* oklch */ color: oklch(52.2% 0.178 288.2);
Tailwind
colors: {
custom: {
50: '#9b82d9',
500: '#6950c8',
950: '#000000',
},
}SCSS
$custom: #6950c8; $custom-light: #9b82d9; $custom-dark: #000000;
JSON
{
"hex": "#6950c8",
"rgb": {
"r": 105,
"g": 80,
"b": 200
},
"hsl": {
"h": 252.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.52231,
"c": 0.17837,
"h": 288.2
},
"luminance": 0.12911
}Semantic roles & 50–950 ramp
primary
#6950C8
secondary
#C9D3A1
accent
#DC4CBE
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83