#7F62FD#7F62FD
#7F62FD is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.220 H 286.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7F62FD |
|---|---|
| RGB | rgb(127, 98, 253) |
| HSL | hsl(251, 97%, 69%) |
| HSV | hsv(251, 61%, 99%) |
| CMYK | cmyk(49.8%, 61.3%, 0%, 0.8%) |
| CIE-LAB | lab(52.22, 49.56, -73.64) |
| CIE-LCH | lch(52.22, 88.76, 303.94°) |
| OKLab | oklab(60.9% 0.0625 -0.211) |
| OKLCH | oklch(60.9% 0.22 286.5) |
| XYZ | xyz(30.8445, 20.3377, 95.2098) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.49
Purpley
#8756E4
ΔE00 5.19
Lighter Purple
#A55AF4
ΔE00 6.84
Mediumpurple
#9370DB
ΔE00 7.26
Dark Periwinkle
#665FD1
ΔE00 7.58
Light Indigo
#6D5ACF
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F62FD #E0FD62
analogous
#6293FD #7F62FD #CD62FD
triadic
#7F62FD #FD7F62 #62FD7F
tetradic
#7F62FD #FD6293 #E0FD62 #62FDCD
square
#7F62FD #FD6293 #E0FD62 #62FDCD
split-complementary
#7F62FD #FDCD62 #93FD62
monochromatic
#2D03E2 #4E26FC #7F62FD #B09EFE #E2DBFF
Accessibility & contrast
On white
4.14
#7F62FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#7F62FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F62FD
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F62FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F62FD | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#5187A7
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7f62fd; /* rgb */ color: rgb(127, 98, 253); /* oklch */ color: oklch(60.9% 0.220 286.5);
Tailwind
colors: {
custom: {
50: '#ad90ff',
500: '#7f62fd',
950: '#000000',
},
}SCSS
$custom: #7f62fd; $custom-light: #ad90ff; $custom-dark: #000000;
JSON
{
"hex": "#7f62fd",
"rgb": {
"r": 127,
"g": 98,
"b": 253
},
"hsl": {
"h": 251.226,
"s": 97.484,
"l": 68.824
},
"oklch": {
"l": 0.609,
"c": 0.22003,
"h": 286.5
},
"luminance": 0.20339
}Semantic roles & 50–950 ramp
primary
#7F62FD
secondary
#ECF4C6
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86