#BA66F2#BA66F2
#BA66F2 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.6% C 0.209 H 309.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #BA66F2 |
|---|---|
| RGB | rgb(186, 102, 242) |
| HSL | hsl(276, 84%, 67%) |
| HSV | hsv(276, 58%, 95%) |
| CMYK | cmyk(23.1%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.37, 57.30, -57.30) |
| CIE-LCH | lch(58.37, 81.04, 315.00°) |
| OKLab | oklab(66.56% 0.1331 -0.1612) |
| OKLCH | oklch(66.56% 0.209 309.5) |
| XYZ | xyz(41.0250, 26.3534, 86.9127) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.43
Bright Lavender
#C760FF
ΔE00 2.48
Bright Lilac
#C95EFB
ΔE00 2.64
Easter Purple
#C071FE
ΔE00 3.15
Light Purple
#BF77F6
ΔE00 4.01
Lighter Purple
#A55AF4
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA66F2 #9EF266
analogous
#7466F2 #BA66F2 #F266E4
triadic
#BA66F2 #F2BA66 #66F2BA
tetradic
#BA66F2 #F27466 #9EF266 #66E4F2
square
#BA66F2 #F27466 #9EF266 #66E4F2
split-complementary
#BA66F2 #E4F266 #66F274
monochromatic
#8111CC #A12EED #BA66F2 #D39EF7 #EDD7FC
Accessibility & contrast
On white
3.35
#BA66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#BA66F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA66F2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA66F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA66F2 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#B280A3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #ba66f2; /* rgb */ color: rgb(186, 102, 242); /* oklch */ color: oklch(66.6% 0.209 309.5);
Tailwind
colors: {
custom: {
50: '#d295f7',
500: '#ba66f2',
950: '#000000',
},
}SCSS
$custom: #ba66f2; $custom-light: #d295f7; $custom-dark: #000000;
JSON
{
"hex": "#ba66f2",
"rgb": {
"r": 186,
"g": 102,
"b": 242
},
"hsl": {
"h": 276,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.66556,
"c": 0.20907,
"h": 309.5
},
"luminance": 0.26353
}Semantic roles & 50–950 ramp
primary
#BA66F2
secondary
#D6F0C4
accent
#E1055D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85