#9782FE#9782FE
#9782FE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.177 H 288.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9782FE |
|---|---|
| RGB | rgb(151, 130, 254) |
| HSL | hsl(250, 98%, 75%) |
| HSV | hsv(250, 49%, 100%) |
| CMYK | cmyk(40.6%, 48.8%, 0%, 0.4%) |
| CIE-LAB | lab(61.39, 36.77, -59.30) |
| CIE-LCH | lch(61.39, 69.77, 301.80°) |
| OKLab | oklab(68.2% 0.0565 -0.1681) |
| OKLCH | oklch(68.2% 0.177 288.6) |
| XYZ | xyz(38.6295, 29.6990, 97.4439) |
| Luminance | 0.2970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.73
Lavender Blue
#8B88F8
ΔE00 3.34
Perrywinkle
#8F8CE7
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 7.22
Periwinkle Blue
#8F99FB
ΔE00 7.60
Light Urple
#B36FF6
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9782FE #E9FE82
analogous
#82ABFE #9782FE #D582FE
triadic
#9782FE #FE9782 #82FE97
tetradic
#9782FE #FE82AB #E9FE82 #82FED5
square
#9782FE #FE82AB #E9FE82 #82FED5
split-complementary
#9782FE #FED582 #ABFE82
monochromatic
#3209FD #6445FE #9782FE #CABFFE #E6E1FF
Accessibility & contrast
On white
3.03
#9782FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#9782FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9782FE
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9782FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9782FE | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#7A9BB4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9782fe; /* rgb */ color: rgb(151, 130, 254); /* oklch */ color: oklch(68.2% 0.177 288.6);
Tailwind
colors: {
custom: {
50: '#baa6ff',
500: '#9782fe',
950: '#000000',
},
}SCSS
$custom: #9782fe; $custom-light: #baa6ff; $custom-dark: #000000;
JSON
{
"hex": "#9782fe",
"rgb": {
"r": 151,
"g": 130,
"b": 254
},
"hsl": {
"h": 250.161,
"s": 98.413,
"l": 75.294
},
"oklch": {
"l": 0.68204,
"c": 0.17729,
"h": 288.6
},
"luminance": 0.297
}Semantic roles & 50–950 ramp
primary
#9782FE
secondary
#F1F7D4
accent
#E600BF
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86