#B972F7#B972F7
#B972F7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.197 H 306.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B972F7 |
|---|---|
| RGB | rgb(185, 114, 247) |
| HSL | hsl(272, 89%, 71%) |
| HSV | hsv(272, 54%, 97%) |
| CMYK | cmyk(25.1%, 53.8%, 0%, 3.1%) |
| CIE-LAB | lab(60.84, 52.07, -56.14) |
| CIE-LCH | lch(60.84, 76.57, 312.85°) |
| OKLab | oklab(68.43% 0.1171 -0.1579) |
| OKLCH | oklch(68.43% 0.197 306.6) |
| XYZ | xyz(42.8099, 29.0647, 91.3324) |
| Luminance | 0.2906 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.34
Easter Purple
#C071FE
ΔE00 1.36
Light Purple
#BF77F6
ΔE00 1.71
Bright Lavender
#C760FF
ΔE00 3.95
Bright Lilac
#C95EFB
ΔE00 4.40
Liliac
#C48EFD
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B972F7 #B0F772
analogous
#7672F7 #B972F7 #F772F3
triadic
#B972F7 #F7B972 #72F7B9
tetradic
#B972F7 #F77672 #B0F772 #72F3F7
square
#B972F7 #F77672 #B0F772 #72F3F7
split-complementary
#B972F7 #F3F772 #72F776
monochromatic
#7F0DE2 #9C38F4 #B972F7 #D6ACFA #F1E2FD
Accessibility & contrast
On white
3.08
#B972F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#B972F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B972F7
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B972F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B972F7 | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#5E93F4
Tritanopia (blue-blind)
#AF8AAA
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b972f7; /* rgb */ color: rgb(185, 114, 247); /* oklch */ color: oklch(68.4% 0.197 306.6);
Tailwind
colors: {
custom: {
50: '#d19dfa',
500: '#b972f7',
950: '#000000',
},
}SCSS
$custom: #b972f7; $custom-light: #d19dfa; $custom-dark: #000000;
JSON
{
"hex": "#b972f7",
"rgb": {
"r": 185,
"g": 114,
"b": 247
},
"hsl": {
"h": 272.03,
"s": 89.262,
"l": 70.784
},
"oklch": {
"l": 0.6843,
"c": 0.19658,
"h": 306.6
},
"luminance": 0.29064
}Semantic roles & 50–950 ramp
primary
#B972F7
secondary
#E1F4D1
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85