#6850CC#6850CC
#6850CC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.184 H 287.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6850CC |
|---|---|
| RGB | rgb(104, 80, 204) |
| HSL | hsl(252, 55%, 56%) |
| HSV | hsv(252, 61%, 80%) |
| CMYK | cmyk(49%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(42.82, 41.22, -61.27) |
| CIE-LCH | lch(42.82, 73.85, 303.93°) |
| OKLab | oklab(52.44% 0.0542 -0.1753) |
| OKLCH | oklch(52.44% 0.184 287.2) |
| XYZ | xyz(19.4735, 13.0391, 58.6058) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.93
Iris
#6258C4
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 3.01
Bluey Purple
#6241C7
ΔE00 4.10
Dark Periwinkle
#665FD1
ΔE00 4.68
Purpleish Blue
#6140EF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6850CC #B4CC50
analogous
#5076CC #6850CC #A650CC
triadic
#6850CC #CC6850 #50CC68
tetradic
#6850CC #CC5076 #B4CC50 #50CCA6
square
#6850CC #CC5076 #B4CC50 #50CCA6
split-complementary
#6850CC #CCA650 #76CC50
monochromatic
#36247D #4A32AD #6850CC #917FDA #BAAFE8
Accessibility & contrast
On white
5.82
#6850CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#6850CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6850CC
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6850CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6850CC | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#456D86
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6850cc; /* rgb */ color: rgb(104, 80, 204); /* oklch */ color: oklch(52.4% 0.184 287.2);
Tailwind
colors: {
custom: {
50: '#9b82dc',
500: '#6850cc',
950: '#000000',
},
}SCSS
$custom: #6850cc; $custom-light: #9b82dc; $custom-dark: #000000;
JSON
{
"hex": "#6850cc",
"rgb": {
"r": 104,
"g": 80,
"b": 204
},
"hsl": {
"h": 251.613,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.52442,
"c": 0.18354,
"h": 287.2
},
"luminance": 0.1304
}Semantic roles & 50–950 ramp
primary
#6850CC
secondary
#CCD6A2
accent
#DE4AC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83