#6F54EF#6F54EF
#6F54EF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.221 H 284.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6F54EF |
|---|---|
| RGB | rgb(111, 84, 239) |
| HSL | hsl(250, 83%, 63%) |
| HSV | hsv(250, 65%, 94%) |
| CMYK | cmyk(53.6%, 64.9%, 0%, 6.3%) |
| CIE-LAB | lab(46.91, 50.48, -74.52) |
| CIE-LCH | lch(46.91, 90.01, 304.11°) |
| OKLab | oklab(56.39% 0.0564 -0.2141) |
| OKLCH | oklch(56.39% 0.221 284.8) |
| XYZ | xyz(25.3011, 15.9507, 83.3902) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.86
Purpleish Blue
#6140EF
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.21
Mediumslateblue
#7B68EE
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F54EF #D4EF54
analogous
#5486EF #6F54EF #BD54EF
triadic
#6F54EF #EF6F54 #54EF6F
tetradic
#6F54EF #EF5486 #D4EF54 #54EFBD
square
#6F54EF #EF5486 #D4EF54 #54EFBD
split-complementary
#6F54EF #EFBD54 #86EF54
monochromatic
#2E11B7 #401CEA #6F54EF #9E8CF4 #CDC4F9
Accessibility & contrast
On white
5.01
#6F54EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#6F54EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F54EF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F54EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F54EF | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#377B9A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6f54ef; /* rgb */ color: rgb(111, 84, 239); /* oklch */ color: oklch(56.4% 0.221 284.8);
Tailwind
colors: {
custom: {
50: '#a386f5',
500: '#6f54ef',
950: '#000000',
},
}SCSS
$custom: #6f54ef; $custom-light: #a386f5; $custom-dark: #000000;
JSON
{
"hex": "#6f54ef",
"rgb": {
"r": 111,
"g": 84,
"b": 239
},
"hsl": {
"h": 250.452,
"s": 82.888,
"l": 63.333
},
"oklch": {
"l": 0.56386,
"c": 0.22138,
"h": 284.8
},
"luminance": 0.15952
}Semantic roles & 50–950 ramp
primary
#6F54EF
secondary
#E1EBB4
accent
#DF06B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85