#9772F2#9772F2
#9772F2 is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.185 H 294.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9772F2 |
|---|---|
| RGB | rgb(151, 114, 242) |
| HSL | hsl(257, 83%, 70%) |
| HSV | hsv(257, 53%, 95%) |
| CMYK | cmyk(37.6%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(57.10, 42.63, -59.54) |
| CIE-LCH | lch(57.10, 73.23, 305.60°) |
| OKLab | oklab(64.78% 0.075 -0.1688) |
| OKLCH | oklch(64.78% 0.185 294) |
| XYZ | xyz(34.8026, 25.0240, 86.9837) |
| Luminance | 0.2502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.51
Light Urple
#B36FF6
ΔE00 5.23
Periwinkle (survey)
#8E82FE
ΔE00 5.50
Mediumslateblue
#7B68EE
ΔE00 5.70
Lighter Purple
#A55AF4
ΔE00 6.20
Lavender Blue
#8B88F8
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9772F2 #CDF272
analogous
#728DF2 #9772F2 #D772F2
triadic
#9772F2 #F29772 #72F297
tetradic
#9772F2 #F2728D #CDF272 #72F2D7
square
#9772F2 #F2728D #CDF272 #72F2D7
split-complementary
#9772F2 #F2D772 #8DF272
monochromatic
#4C14D6 #6E3AED #9772F2 #C0AAF7 #EAE2FC
Accessibility & contrast
On white
3.50
#9772F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#9772F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9772F2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9772F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9772F2 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#808CA7
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9772f2; /* rgb */ color: rgb(151, 114, 242); /* oklch */ color: oklch(64.8% 0.185 294.0);
Tailwind
colors: {
custom: {
50: '#ba9bf7',
500: '#9772f2',
950: '#000000',
},
}SCSS
$custom: #9772f2; $custom-light: #ba9bf7; $custom-dark: #000000;
JSON
{
"hex": "#9772f2",
"rgb": {
"r": 151,
"g": 114,
"b": 242
},
"hsl": {
"h": 257.344,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.64781,
"c": 0.18472,
"h": 294
},
"luminance": 0.25025
}Semantic roles & 50–950 ramp
primary
#9772F2
secondary
#E8F2CE
accent
#E006A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85