#9782FB#9782FB
#9782FB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.173 H 288.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9782FB |
|---|---|
| RGB | rgb(151, 130, 251) |
| HSL | hsl(250, 94%, 75%) |
| HSV | hsv(250, 48%, 98%) |
| CMYK | cmyk(39.8%, 48.2%, 0%, 1.6%) |
| CIE-LAB | lab(61.23, 35.96, -57.91) |
| CIE-LCH | lch(61.23, 68.17, 301.83°) |
| OKLab | oklab(68.03% 0.0562 -0.164) |
| OKLCH | oklch(68.03% 0.173 288.9) |
| XYZ | xyz(38.1529, 29.5084, 94.9336) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.86
Lavender Blue
#8B88F8
ΔE00 3.32
Perrywinkle
#8F8CE7
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 6.93
Periwinkle Blue
#8F99FB
ΔE00 7.62
Light Urple
#B36FF6
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9782FB #E6FB82
analogous
#82AAFB #9782FB #D382FB
triadic
#9782FB #FB9782 #82FB97
tetradic
#9782FB #FB82AA #E6FB82 #82FBD3
square
#9782FB #FB82AA #E6FB82 #82FBD3
split-complementary
#9782FB #FBD382 #AAFB82
monochromatic
#340BF7 #6647F9 #9782FB #C8BDFD #E6E1FE
Accessibility & contrast
On white
3.04
#9782FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#9782FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9782FB
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9782FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9782FB | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#7B9BB3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9782fb; /* rgb */ color: rgb(151, 130, 251); /* oklch */ color: oklch(68.0% 0.173 288.9);
Tailwind
colors: {
custom: {
50: '#baa6fd',
500: '#9782fb',
950: '#000000',
},
}SCSS
$custom: #9782fb; $custom-light: #baa6fd; $custom-dark: #000000;
JSON
{
"hex": "#9782fb",
"rgb": {
"r": 151,
"g": 130,
"b": 251
},
"hsl": {
"h": 250.413,
"s": 93.798,
"l": 74.706
},
"oklch": {
"l": 0.68026,
"c": 0.17336,
"h": 288.9
},
"luminance": 0.2951
}Semantic roles & 50–950 ramp
primary
#9782FB
secondary
#F0F6D5
accent
#E600BE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86