#B279E4#B279E4
#B279E4 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.162 H 307.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B279E4 |
|---|---|
| RGB | rgb(178, 121, 228) |
| HSL | hsl(272, 66%, 68%) |
| HSV | hsv(272, 47%, 89%) |
| CMYK | cmyk(21.9%, 46.9%, 0%, 10.6%) |
| CIE-LAB | lab(60.55, 42.20, -46.10) |
| CIE-LCH | lch(60.55, 62.50, 312.48°) |
| OKLab | oklab(67.73% 0.0977 -0.1288) |
| OKLCH | oklch(67.73% 0.162 307.2) |
| XYZ | xyz(39.1983, 28.7416, 76.8664) |
| Luminance | 0.2874 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.18
Light Urple
#B36FF6
ΔE00 3.81
Easter Purple
#C071FE
ΔE00 4.47
Liliac
#C48EFD
ΔE00 6.39
Mediumpurple
#9370DB
ΔE00 6.52
Wisteria
#A87DC2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B279E4 #ABE479
analogous
#7C79E4 #B279E4 #E479E0
triadic
#B279E4 #E4B279 #79E4B2
tetradic
#B279E4 #E47C79 #ABE479 #79E0E4
square
#B279E4 #E47C79 #ABE479 #79E0E4
split-complementary
#B279E4 #E0E479 #79E47C
monochromatic
#7626BD #9546DA #B279E4 #CFACEE #EDDFF9
Accessibility & contrast
On white
3.11
#B279E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#B279E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B279E4
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B279E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B279E4 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#6C93E1
Tritanopia (blue-blind)
#AB8BA4
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b279e4; /* rgb */ color: rgb(178, 121, 228); /* oklch */ color: oklch(67.7% 0.162 307.2);
Tailwind
colors: {
custom: {
50: '#cba1ed',
500: '#b279e4',
950: '#000000',
},
}SCSS
$custom: #b279e4; $custom-light: #cba1ed; $custom-dark: #000000;
JSON
{
"hex": "#b279e4",
"rgb": {
"r": 178,
"g": 121,
"b": 228
},
"hsl": {
"h": 271.963,
"s": 66.46,
"l": 68.431
},
"oklch": {
"l": 0.67729,
"c": 0.16168,
"h": 307.2
},
"luminance": 0.28741
}Semantic roles & 50–950 ramp
primary
#B279E4
secondary
#DBECCC
accent
#CE176D
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84