#B279E2#B279E2
#B279E2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.159 H 307.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B279E2 |
|---|---|
| RGB | rgb(178, 121, 226) |
| HSL | hsl(273, 64%, 68%) |
| HSV | hsv(273, 46%, 89%) |
| CMYK | cmyk(21.2%, 46.5%, 0%, 11.4%) |
| CIE-LAB | lab(60.45, 41.75, -45.13) |
| CIE-LCH | lch(60.45, 61.48, 312.77°) |
| OKLab | oklab(67.62% 0.0975 -0.126) |
| OKLCH | oklch(67.62% 0.159 307.7) |
| XYZ | xyz(38.9222, 28.6311, 75.4127) |
| Luminance | 0.2863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.41
Light Urple
#B36FF6
ΔE00 4.09
Easter Purple
#C071FE
ΔE00 4.73
Wisteria
#A87DC2
ΔE00 6.27
Liliac
#C48EFD
ΔE00 6.53
Mediumpurple
#9370DB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B279E2 #A9E279
analogous
#7D79E2 #B279E2 #E279DE
triadic
#B279E2 #E2B279 #79E2B2
tetradic
#B279E2 #E27D79 #A9E279 #79DEE2
square
#B279E2 #E27D79 #A9E279 #79DEE2
split-complementary
#B279E2 #DEE279 #79E27D
monochromatic
#7628B9 #9547D7 #B279E2 #CFABED #ECDEF8
Accessibility & contrast
On white
3.12
#B279E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#B279E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B279E2
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B279E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B279E2 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8FE6
Deuteranopia (green-blind)
#6E92DF
Tritanopia (blue-blind)
#AB8AA3
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b279e2; /* rgb */ color: rgb(178, 121, 226); /* oklch */ color: oklch(67.6% 0.159 307.7);
Tailwind
colors: {
custom: {
50: '#cba1eb',
500: '#b279e2',
950: '#000000',
},
}SCSS
$custom: #b279e2; $custom-light: #cba1eb; $custom-dark: #000000;
JSON
{
"hex": "#b279e2",
"rgb": {
"r": 178,
"g": 121,
"b": 226
},
"hsl": {
"h": 272.571,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.67623,
"c": 0.1593,
"h": 307.7
},
"luminance": 0.28631
}Semantic roles & 50–950 ramp
primary
#B279E2
secondary
#DAEBCB
accent
#CC196B
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84