#6F54EB#6F54EB
#6F54EB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.217 H 285.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6F54EB |
|---|---|
| RGB | rgb(111, 84, 235) |
| HSL | hsl(251, 79%, 63%) |
| HSV | hsv(251, 64%, 92%) |
| CMYK | cmyk(52.8%, 64.3%, 0%, 7.8%) |
| CIE-LAB | lab(46.60, 49.31, -72.77) |
| CIE-LCH | lch(46.60, 87.91, 304.12°) |
| OKLab | oklab(56.07% 0.0569 -0.2089) |
| OKLCH | oklch(56.07% 0.217 285.2) |
| XYZ | xyz(24.7168, 15.7170, 80.3124) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.89
Purpleish Blue
#6140EF
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F54EB #D0EB54
analogous
#5485EB #6F54EB #BA54EB
triadic
#6F54EB #EB6F54 #54EB6F
tetradic
#6F54EB #EB5485 #D0EB54 #54EBBA
square
#6F54EB #EB5485 #D0EB54 #54EBBA
split-complementary
#6F54EB #EBBA54 #85EB54
monochromatic
#3015B0 #411DE5 #6F54EB #9D8BF1 #CBC2F8
Accessibility & contrast
On white
5.07
#6F54EB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#6F54EB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F54EB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F54EB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F54EB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#3B7998
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6f54eb; /* rgb */ color: rgb(111, 84, 235); /* oklch */ color: oklch(56.1% 0.217 285.2);
Tailwind
colors: {
custom: {
50: '#a386f2',
500: '#6f54eb',
950: '#000000',
},
}SCSS
$custom: #6f54eb; $custom-light: #a386f2; $custom-dark: #000000;
JSON
{
"hex": "#6f54eb",
"rgb": {
"r": 111,
"g": 84,
"b": 235
},
"hsl": {
"h": 250.728,
"s": 79.058,
"l": 62.549
},
"oklch": {
"l": 0.56066,
"c": 0.21654,
"h": 285.2
},
"luminance": 0.15718
}Semantic roles & 50–950 ramp
primary
#6F54EB
secondary
#DFE9B2
accent
#DB0AB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85