#B785FC#B785FC
#B785FC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.5% C 0.173 H 301.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B785FC |
|---|---|
| RGB | rgb(183, 133, 252) |
| HSL | hsl(265, 95%, 75%) |
| HSV | hsv(265, 47%, 99%) |
| CMYK | cmyk(27.4%, 47.2%, 0%, 1.2%) |
| CIE-LAB | lab(64.86, 42.55, -52.51) |
| CIE-LCH | lch(64.86, 67.59, 309.02°) |
| OKLab | oklab(71.45% 0.0906 -0.1474) |
| OKLCH | oklch(71.45% 0.173 301.6) |
| XYZ | xyz(45.4827, 33.8705, 96.2181) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.21
Light Purple
#BF77F6
ΔE00 3.95
Easter Purple
#C071FE
ΔE00 4.95
Light Urple
#B36FF6
ΔE00 5.41
Baby Purple
#CA9BF7
ΔE00 6.85
Pastel Purple
#CAA0FF
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B785FC #CAFC85
analogous
#858EFC #B785FC #F285FC
triadic
#B785FC #FCB785 #85FCB7
tetradic
#B785FC #FC858E #CAFC85 #85FCF2
square
#B785FC #FC858E #CAFC85 #85FCF2
split-complementary
#B785FC #FCF285 #8EFC85
monochromatic
#700EF9 #9449FB #B785FC #DAC1FD #EDE1FE
Accessibility & contrast
On white
2.70
#B785FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#B785FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B785FC
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B785FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B785FC | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#AA9AB5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b785fc; /* rgb */ color: rgb(183, 133, 252); /* oklch */ color: oklch(71.5% 0.173 301.6);
Tailwind
colors: {
custom: {
50: '#cfa9fe',
500: '#b785fc',
950: '#000000',
},
}SCSS
$custom: #b785fc; $custom-light: #cfa9fe; $custom-dark: #000000;
JSON
{
"hex": "#b785fc",
"rgb": {
"r": 183,
"g": 133,
"b": 252
},
"hsl": {
"h": 265.21,
"s": 95.2,
"l": 75.49
},
"oklch": {
"l": 0.71451,
"c": 0.17299,
"h": 301.6
},
"luminance": 0.33871
}Semantic roles & 50–950 ramp
primary
#B785FC
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86