#B279FB#B279FB
#B279FB is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.0% C 0.189 H 301.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B279FB |
|---|---|
| RGB | rgb(178, 121, 251) |
| HSL | hsl(266, 94%, 73%) |
| HSV | hsv(266, 52%, 98%) |
| CMYK | cmyk(29.1%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(61.74, 47.56, -56.94) |
| CIE-LCH | lch(61.74, 74.19, 309.87°) |
| OKLab | oklab(69% 0.0999 -0.1604) |
| OKLCH | oklch(69% 0.189 301.9) |
| XYZ | xyz(42.6061, 30.1047, 94.8142) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.53
Light Purple
#BF77F6
ΔE00 2.84
Easter Purple
#C071FE
ΔE00 2.99
Bright Lavender
#C760FF
ΔE00 5.98
Liliac
#C48EFD
ΔE00 6.00
Bright Lilac
#C95EFB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B279FB #C2FB79
analogous
#7981FB #B279FB #F379FB
triadic
#B279FB #FBB279 #79FBB2
tetradic
#B279FB #FB7981 #C2FB79 #79FBF3
square
#B279FB #FB7981 #C2FB79 #79FBF3
split-complementary
#B279FB #FBF379 #81FB79
monochromatic
#6E07F2 #903EF9 #B279FB #D4B4FD #EEE1FE
Accessibility & contrast
On white
2.99
#B279FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#B279FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B279FB
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B279FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B279FB | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#A492AF
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b279fb; /* rgb */ color: rgb(178, 121, 251); /* oklch */ color: oklch(69.0% 0.189 301.9);
Tailwind
colors: {
custom: {
50: '#cca1fd',
500: '#b279fb',
950: '#000000',
},
}SCSS
$custom: #b279fb; $custom-light: #cca1fd; $custom-dark: #000000;
JSON
{
"hex": "#b279fb",
"rgb": {
"r": 178,
"g": 121,
"b": 251
},
"hsl": {
"h": 266.308,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.69001,
"c": 0.18903,
"h": 301.9
},
"luminance": 0.30105
}Semantic roles & 50–950 ramp
primary
#B279FB
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86