#B27CFD#B27CFD
#B27CFD is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.187 H 301.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B27CFD |
|---|---|
| RGB | rgb(178, 124, 253) |
| HSL | hsl(265, 97%, 74%) |
| HSV | hsv(265, 51%, 99%) |
| CMYK | cmyk(29.6%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(62.48, 46.41, -56.86) |
| CIE-LCH | lch(62.48, 73.40, 309.22°) |
| OKLab | oklab(69.58% 0.0963 -0.1602) |
| OKLCH | oklch(69.58% 0.187 301) |
| XYZ | xyz(43.2933, 30.9720, 96.6068) |
| Luminance | 0.3097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.21
Light Urple
#B36FF6
ΔE00 3.32
Easter Purple
#C071FE
ΔE00 3.52
Liliac
#C48EFD
ΔE00 5.48
Bright Lavender
#C760FF
ΔE00 6.64
Bright Lilac
#C95EFB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B27CFD #C7FD7C
analogous
#7C87FD #B27CFD #F27CFD
triadic
#B27CFD #FDB27C #7CFDB2
tetradic
#B27CFD #FD7C87 #C7FD7C #7CFDF2
square
#B27CFD #FD7C87 #C7FD7C #7CFDF2
split-complementary
#B27CFD #FDF27C #87FD7C
monochromatic
#6B04FB #8F40FC #B27CFD #D5B8FE #EDE1FF
Accessibility & contrast
On white
2.92
#B27CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#B27CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B27CFD
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B27CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B27CFD | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#A394B1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b27cfd; /* rgb */ color: rgb(178, 124, 253); /* oklch */ color: oklch(69.6% 0.187 301.0);
Tailwind
colors: {
custom: {
50: '#cca3ff',
500: '#b27cfd',
950: '#000000',
},
}SCSS
$custom: #b27cfd; $custom-light: #cca3ff; $custom-dark: #000000;
JSON
{
"hex": "#b27cfd",
"rgb": {
"r": 178,
"g": 124,
"b": 253
},
"hsl": {
"h": 265.116,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.69585,
"c": 0.18692,
"h": 301
},
"luminance": 0.30972
}Semantic roles & 50–950 ramp
primary
#B27CFD
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86