#BA67A2#BA67A2
#BA67A2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.7% C 0.129 H 338.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BA67A2 |
|---|---|
| RGB | rgb(186, 103, 162) |
| HSL | hsl(317, 38%, 57%) |
| HSV | hsv(317, 45%, 73%) |
| CMYK | cmyk(0%, 44.6%, 12.9%, 27.1%) |
| CIE-LAB | lab(54.81, 41.23, -17.35) |
| CIE-LCH | lch(54.81, 44.73, 337.18°) |
| OKLab | oklab(62.7% 0.1205 -0.0464) |
| OKLCH | oklch(62.7% 0.129 338.9) |
| XYZ | xyz(31.6217, 22.7503, 36.9011) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.37
Pale Magenta
#D767AD
ΔE00 5.45
Orchid (survey)
#C875C4
ΔE00 7.08
Dark Lilac
#9C6DA5
ΔE00 7.19
Soft Purple
#A66FB5
ΔE00 7.25
Pinky Purple
#C94CBE
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA67A2 #67BA7F
analogous
#A967BA #BA67A2 #BA6779
triadic
#BA67A2 #A2BA67 #67A2BA
tetradic
#BA67A2 #BAA967 #67BA7F #6779BA
square
#BA67A2 #BAA967 #67BA7F #6779BA
split-complementary
#BA67A2 #79BA67 #67BAA9
monochromatic
#733460 #9D4784 #BA67A2 #CD91BC #E0BBD6
Accessibility & contrast
On white
3.78
#BA67A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#BA67A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA67A2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA67A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA67A2 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#8088A0
Tritanopia (blue-blind)
#C2697D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ba67a2; /* rgb */ color: rgb(186, 103, 162); /* oklch */ color: oklch(62.7% 0.129 338.9);
Tailwind
colors: {
custom: {
50: '#d094bd',
500: '#ba67a2',
950: '#000000',
},
}SCSS
$custom: #ba67a2; $custom-light: #d094bd; $custom-dark: #000000;
JSON
{
"hex": "#ba67a2",
"rgb": {
"r": 186,
"g": 103,
"b": 162
},
"hsl": {
"h": 317.349,
"s": 37.557,
"l": 56.667
},
"oklch": {
"l": 0.62701,
"c": 0.12913,
"h": 338.9
},
"luminance": 0.22748
}Semantic roles & 50–950 ramp
primary
#BA67A2
secondary
#ADCFB7
accent
#CE7C5A
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140D12
muted
#837E81