#BD79F2#BD79F2
#BD79F2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.181 H 308.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #BD79F2 |
|---|---|
| RGB | rgb(189, 121, 242) |
| HSL | hsl(274, 82%, 71%) |
| HSV | hsv(274, 50%, 95%) |
| CMYK | cmyk(21.9%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(62.43, 48.29, -50.82) |
| CIE-LCH | lch(62.43, 70.11, 313.54°) |
| OKLab | oklab(69.62% 0.1125 -0.1423) |
| OKLCH | oklch(69.62% 0.181 308.3) |
| XYZ | xyz(43.8475, 30.9049, 87.6425) |
| Luminance | 0.3090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.77
Easter Purple
#C071FE
ΔE00 2.49
Light Urple
#B36FF6
ΔE00 3.30
Liliac
#C48EFD
ΔE00 5.23
Bright Lavender
#C760FF
ΔE00 5.35
Bright Lilac
#C95EFB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD79F2 #AEF279
analogous
#8079F2 #BD79F2 #F279EA
triadic
#BD79F2 #F2BD79 #79F2BD
tetradic
#BD79F2 #F28079 #AEF279 #79EAF2
square
#BD79F2 #F28079 #AEF279 #79EAF2
split-complementary
#BD79F2 #EAF279 #79F280
monochromatic
#8515DB #A241ED #BD79F2 #D8B1F7 #F1E3FC
Accessibility & contrast
On white
2.92
#BD79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#BD79F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD79F2
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD79F2 | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#B68EAA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #bd79f2; /* rgb */ color: rgb(189, 121, 242); /* oklch */ color: oklch(69.6% 0.181 308.3);
Tailwind
colors: {
custom: {
50: '#d3a1f7',
500: '#bd79f2',
950: '#000000',
},
}SCSS
$custom: #bd79f2; $custom-light: #d3a1f7; $custom-dark: #000000;
JSON
{
"hex": "#bd79f2",
"rgb": {
"r": 189,
"g": 121,
"b": 242
},
"hsl": {
"h": 273.719,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.69616,
"c": 0.18141,
"h": 308.3
},
"luminance": 0.30904
}Semantic roles & 50–950 ramp
primary
#BD79F2
secondary
#E1F3D3
accent
#DF0765
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85