#6D50C8#6D50C8
#6D50C8 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.178 H 290.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6D50C8 |
|---|---|
| RGB | rgb(109, 80, 200) |
| HSL | hsl(255, 52%, 55%) |
| HSV | hsv(255, 60%, 78%) |
| CMYK | cmyk(45.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(43.00, 41.08, -58.65) |
| CIE-LCH | lch(43.00, 71.60, 305.01°) |
| OKLab | oklab(52.59% 0.061 -0.1675) |
| OKLCH | oklch(52.59% 0.178 290) |
| XYZ | xyz(19.5977, 13.1579, 56.1395) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.14
Slate Blue
#6A5ACD
ΔE00 3.18
Iris
#6258C4
ΔE00 3.39
Bluey Purple
#6241C7
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D50C8 #ABC850
analogous
#506FC8 #6D50C8 #A950C8
triadic
#6D50C8 #C86D50 #50C86D
tetradic
#6D50C8 #C8506F #ABC850 #50C8A9
square
#6D50C8 #C8506F #ABC850 #50C8A9
split-complementary
#6D50C8 #C8A950 #6FC850
monochromatic
#3A2678 #5034A6 #6D50C8 #947FD7 #BBADE5
Accessibility & contrast
On white
5.78
#6D50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6D50C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D50C8
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D50C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D50C8 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#516B84
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6d50c8; /* rgb */ color: rgb(109, 80, 200); /* oklch */ color: oklch(52.6% 0.178 290.0);
Tailwind
colors: {
custom: {
50: '#9d82d9',
500: '#6d50c8',
950: '#000000',
},
}SCSS
$custom: #6d50c8; $custom-light: #9d82d9; $custom-dark: #000000;
JSON
{
"hex": "#6d50c8",
"rgb": {
"r": 109,
"g": 80,
"b": 200
},
"hsl": {
"h": 254.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.52594,
"c": 0.17825,
"h": 290
},
"luminance": 0.13159
}Semantic roles & 50–950 ramp
primary
#6D50C8
secondary
#C7D3A1
accent
#DC4CB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83