#6F4DFD#6F4DFD
#6F4DFD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.246 H 284.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4DFD |
|---|---|
| RGB | rgb(111, 77, 253) |
| HSL | hsl(252, 98%, 65%) |
| HSV | hsv(252, 70%, 99%) |
| CMYK | cmyk(56.1%, 69.6%, 0%, 0.8%) |
| CIE-LAB | lab(46.68, 58.24, -82.73) |
| CIE-LCH | lch(46.68, 101.17, 305.14°) |
| OKLab | oklab(56.57% 0.0601 -0.2381) |
| OKLCH | oklch(56.57% 0.246 284.2) |
| XYZ | xyz(26.9336, 15.7775, 94.5356) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.48
Purpley
#8756E4
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 6.45
Slate Blue
#6A5ACD
ΔE00 6.78
Dark Periwinkle
#665FD1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4DFD #DBFD4D
analogous
#4D83FD #6F4DFD #C74DFD
triadic
#6F4DFD #FD6F4D #4DFD6F
tetradic
#6F4DFD #FD4D83 #DBFD4D #4DFDC7
square
#6F4DFD #FD4D83 #DBFD4D #4DFDC7
split-complementary
#6F4DFD #FDC74D #83FD4D
monochromatic
#2A02CD #3E10FC #6F4DFD #A08AFE #D1C6FE
Accessibility & contrast
On white
5.05
#6F4DFD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6F4DFD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F4DFD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4DFD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4DFD | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0069FA
Tritanopia (blue-blind)
#257CA0
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6f4dfd; /* rgb */ color: rgb(111, 77, 253); /* oklch */ color: oklch(56.6% 0.246 284.2);
Tailwind
colors: {
custom: {
50: '#a682ff',
500: '#6f4dfd',
950: '#000000',
},
}SCSS
$custom: #6f4dfd; $custom-light: #a682ff; $custom-dark: #000000;
JSON
{
"hex": "#6f4dfd",
"rgb": {
"r": 111,
"g": 77,
"b": 253
},
"hsl": {
"h": 251.591,
"s": 97.778,
"l": 64.706
},
"oklch": {
"l": 0.56572,
"c": 0.24562,
"h": 284.2
},
"luminance": 0.15779
}Semantic roles & 50–950 ramp
primary
#6F4DFD
secondary
#E5F1B5
accent
#E600B9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86