#B279F7#B279F7
#B279F7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.184 H 302.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B279F7 |
|---|---|
| RGB | rgb(178, 121, 247) |
| HSL | hsl(267, 89%, 72%) |
| HSV | hsv(267, 51%, 97%) |
| CMYK | cmyk(27.9%, 51%, 0%, 3.1%) |
| CIE-LAB | lab(61.53, 46.61, -55.08) |
| CIE-LCH | lch(61.53, 72.16, 310.24°) |
| OKLab | oklab(68.77% 0.0997 -0.155) |
| OKLCH | oklch(68.77% 0.184 302.7) |
| XYZ | xyz(41.9822, 29.8551, 91.5285) |
| Luminance | 0.2985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.41
Light Purple
#BF77F6
ΔE00 2.56
Easter Purple
#C071FE
ΔE00 2.99
Liliac
#C48EFD
ΔE00 5.93
Bright Lavender
#C760FF
ΔE00 5.96
Bright Lilac
#C95EFB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B279F7 #BEF779
analogous
#797FF7 #B279F7 #F179F7
triadic
#B279F7 #F7B279 #79F7B2
tetradic
#B279F7 #F7797F #BEF779 #79F7F1
square
#B279F7 #F7797F #BEF779 #79F7F1
split-complementary
#B279F7 #F7F179 #7FF779
monochromatic
#700EE8 #913FF4 #B279F7 #D3B3FA #EEE2FD
Accessibility & contrast
On white
3.01
#B279F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#B279F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B279F7
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B279F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B279F7 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#6094F4
Tritanopia (blue-blind)
#A590AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b279f7; /* rgb */ color: rgb(178, 121, 247); /* oklch */ color: oklch(68.8% 0.184 302.7);
Tailwind
colors: {
custom: {
50: '#cca1fa',
500: '#b279f7',
950: '#000000',
},
}SCSS
$custom: #b279f7; $custom-light: #cca1fa; $custom-dark: #000000;
JSON
{
"hex": "#b279f7",
"rgb": {
"r": 178,
"g": 121,
"b": 247
},
"hsl": {
"h": 267.143,
"s": 88.732,
"l": 72.157
},
"oklch": {
"l": 0.68772,
"c": 0.18428,
"h": 302.7
},
"luminance": 0.29855
}Semantic roles & 50–950 ramp
primary
#B279F7
secondary
#E7F5D6
accent
#E5007E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85