#6B50EC#6B50EC
#6B50EC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.223 H 284.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6B50EC |
|---|---|
| RGB | rgb(107, 80, 236) |
| HSL | hsl(250, 80%, 62%) |
| HSV | hsv(250, 66%, 93%) |
| CMYK | cmyk(54.7%, 66.1%, 0%, 7.5%) |
| CIE-LAB | lab(45.52, 51.15, -75.11) |
| CIE-LCH | lch(45.52, 90.87, 304.25°) |
| OKLab | oklab(55.23% 0.0551 -0.2159) |
| OKLCH | oklch(55.23% 0.223 284.3) |
| XYZ | xyz(24.0678, 14.9178, 80.9518) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.94
Light Indigo
#6D5ACF
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 4.79
Bluish Purple
#703BE7
ΔE00 4.85
Purpley
#8756E4
ΔE00 5.01
Dark Periwinkle
#665FD1
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B50EC #D1EC50
analogous
#5083EC #6B50EC #B950EC
triadic
#6B50EC #EC6B50 #50EC6B
tetradic
#6B50EC #EC5083 #D1EC50 #50ECB9
square
#6B50EC #EC5083 #D1EC50 #50ECB9
split-complementary
#6B50EC #ECB950 #83EC50
monochromatic
#2E13AF #3C19E6 #6B50EC #9A87F2 #C8BEF8
Accessibility & contrast
On white
5.27
#6B50EC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#6B50EC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B50EC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B50EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B50EC | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#2F7897
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6b50ec; /* rgb */ color: rgb(107, 80, 236); /* oklch */ color: oklch(55.2% 0.223 284.3);
Tailwind
colors: {
custom: {
50: '#a183f3',
500: '#6b50ec',
950: '#000000',
},
}SCSS
$custom: #6b50ec; $custom-light: #a183f3; $custom-dark: #000000;
JSON
{
"hex": "#6b50ec",
"rgb": {
"r": 107,
"g": 80,
"b": 236
},
"hsl": {
"h": 250.385,
"s": 80.412,
"l": 61.961
},
"oklch": {
"l": 0.55227,
"c": 0.22286,
"h": 284.3
},
"luminance": 0.14919
}Semantic roles & 50–950 ramp
primary
#6B50EC
secondary
#DFE9AF
accent
#DD09B8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85