#B790FA#B790FA
#B790FA is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.2% C 0.153 H 299.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B790FA |
|---|---|
| RGB | rgb(183, 144, 250) |
| HSL | hsl(262, 91%, 77%) |
| HSV | hsv(262, 42%, 98%) |
| CMYK | cmyk(26.8%, 42.4%, 0%, 2%) |
| CIE-LAB | lab(67.21, 36.01, -47.70) |
| CIE-LCH | lch(67.21, 59.77, 307.06°) |
| OKLab | oklab(73.19% 0.0757 -0.1334) |
| OKLCH | oklch(73.19% 0.153 299.6) |
| XYZ | xyz(46.7530, 36.9157, 95.0863) |
| Luminance | 0.3692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.66
Baby Purple
#CA9BF7
ΔE00 4.85
Pastel Purple
#CAA0FF
ΔE00 4.96
Lilac (survey)
#CEA2FD
ΔE00 5.96
Lavender (survey)
#C79FEF
ΔE00 6.11
Light Purple
#BF77F6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B790FA #D3FA90
analogous
#909EFA #B790FA #EC90FA
triadic
#B790FA #FAB790 #90FAB7
tetradic
#B790FA #FA909E #D3FA90 #90FAEC
square
#B790FA #FA909E #D3FA90 #90FAEC
split-complementary
#B790FA #FAEC90 #9EFA90
monochromatic
#6B1BF5 #9155F7 #B790FA #DDCBFD #ECE2FE
Accessibility & contrast
On white
2.51
#B790FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#B790FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B790FA
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B790FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B790FA | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#AAA2B9
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b790fa; /* rgb */ color: rgb(183, 144, 250); /* oklch */ color: oklch(73.2% 0.153 299.6);
Tailwind
colors: {
custom: {
50: '#cfb1fc',
500: '#b790fa',
950: '#000000',
},
}SCSS
$custom: #b790fa; $custom-light: #cfb1fc; $custom-dark: #000000;
JSON
{
"hex": "#b790fa",
"rgb": {
"r": 183,
"g": 144,
"b": 250
},
"hsl": {
"h": 262.075,
"s": 91.379,
"l": 77.255
},
"oklch": {
"l": 0.73187,
"c": 0.15337,
"h": 299.6
},
"luminance": 0.36916
}Semantic roles & 50–950 ramp
primary
#B790FA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85