#9782F9#9782F9
#9782F9 is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.171 H 289.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9782F9 |
|---|---|
| RGB | rgb(151, 130, 249) |
| HSL | hsl(251, 91%, 74%) |
| HSV | hsv(251, 48%, 98%) |
| CMYK | cmyk(39.4%, 47.8%, 0%, 2.4%) |
| CIE-LAB | lab(61.12, 35.42, -56.99) |
| CIE-LCH | lch(61.12, 67.10, 301.86°) |
| OKLab | oklab(67.91% 0.056 -0.1613) |
| OKLCH | oklch(67.91% 0.171 289.1) |
| XYZ | xyz(37.8393, 29.3829, 93.2820) |
| Luminance | 0.2938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.00
Lavender Blue
#8B88F8
ΔE00 3.35
Perrywinkle
#8F8CE7
ΔE00 4.65
Mediumpurple
#9370DB
ΔE00 6.75
Periwinkle Blue
#8F99FB
ΔE00 7.65
Light Urple
#B36FF6
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9782F9 #E4F982
analogous
#82A9F9 #9782F9 #D382F9
triadic
#9782F9 #F99782 #82F997
tetradic
#9782F9 #F982A9 #E4F982 #82F9D3
square
#9782F9 #F982A9 #E4F982 #82F9D3
split-complementary
#9782F9 #F9D382 #A9F982
monochromatic
#360DF3 #6648F6 #9782F9 #C8BCFC #E7E2FE
Accessibility & contrast
On white
3.05
#9782F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#9782F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9782F9
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9782F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9782F9 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#7C9AB2
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9782f9; /* rgb */ color: rgb(151, 130, 249); /* oklch */ color: oklch(67.9% 0.171 289.1);
Tailwind
colors: {
custom: {
50: '#baa6fc',
500: '#9782f9',
950: '#000000',
},
}SCSS
$custom: #9782f9; $custom-light: #baa6fc; $custom-dark: #000000;
JSON
{
"hex": "#9782f9",
"rgb": {
"r": 151,
"g": 130,
"b": 249
},
"hsl": {
"h": 250.588,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.67908,
"c": 0.17074,
"h": 289.1
},
"luminance": 0.29384
}Semantic roles & 50–950 ramp
primary
#9782F9
secondary
#F0F6D5
accent
#E600BD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85