#B789FA#B789FA
#B789FA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.0% C 0.164 H 301.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B789FA |
|---|---|
| RGB | rgb(183, 137, 250) |
| HSL | hsl(264, 92%, 76%) |
| HSV | hsv(264, 45%, 98%) |
| CMYK | cmyk(26.8%, 45.2%, 0%, 2%) |
| CIE-LAB | lab(65.64, 39.88, -50.18) |
| CIE-LCH | lch(65.64, 64.10, 308.48°) |
| OKLab | oklab(72% 0.085 -0.1406) |
| OKLCH | oklch(72% 0.164 301.2) |
| XYZ | xyz(45.7255, 34.8606, 94.7437) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.61
Light Purple
#BF77F6
ΔE00 4.81
Baby Purple
#CA9BF7
ΔE00 5.95
Easter Purple
#C071FE
ΔE00 5.96
Pastel Purple
#CAA0FF
ΔE00 6.38
Light Urple
#B36FF6
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B789FA #CCFA89
analogous
#8993FA #B789FA #F089FA
triadic
#B789FA #FAB789 #89FAB7
tetradic
#B789FA #FA8993 #CCFA89 #89FAF0
square
#B789FA #FA8993 #CCFA89 #89FAF0
split-complementary
#B789FA #FAF089 #93FA89
monochromatic
#6F14F5 #934EF8 #B789FA #DBC4FC #EDE2FE
Accessibility & contrast
On white
2.63
#B789FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#B789FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B789FA
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B789FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B789FA | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#AA9DB6
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b789fa; /* rgb */ color: rgb(183, 137, 250); /* oklch */ color: oklch(72.0% 0.164 301.2);
Tailwind
colors: {
custom: {
50: '#cfacfc',
500: '#b789fa',
950: '#000000',
},
}SCSS
$custom: #b789fa; $custom-light: #cfacfc; $custom-dark: #000000;
JSON
{
"hex": "#b789fa",
"rgb": {
"r": 183,
"g": 137,
"b": 250
},
"hsl": {
"h": 264.425,
"s": 91.87,
"l": 75.882
},
"oklch": {
"l": 0.72003,
"c": 0.16432,
"h": 301.2
},
"luminance": 0.34861
}Semantic roles & 50–950 ramp
primary
#B789FA
secondary
#E9F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85