#BA70CD#BA70CD
#BA70CD is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.0% C 0.154 H 319.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #BA70CD |
|---|---|
| RGB | rgb(186, 112, 205) |
| HSL | hsl(288, 48%, 62%) |
| HSV | hsv(288, 45%, 80%) |
| CMYK | cmyk(9.3%, 45.4%, 0%, 19.6%) |
| CIE-LAB | lab(58.45, 44.38, -36.42) |
| CIE-LCH | lch(58.45, 57.41, 320.63°) |
| OKLab | oklab(66% 0.1165 -0.1006) |
| OKLCH | oklch(66% 0.154 319.2) |
| XYZ | xyz(37.0619, 26.4365, 60.8962) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.51
Soft Purple
#A66FB5
ΔE00 5.17
Wisteria
#A87DC2
ΔE00 5.52
Orchid
#DA70D6
ΔE00 5.80
Mediumorchid
#BA55D3
ΔE00 6.41
Light Purple
#BF77F6
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA70CD #83CD70
analogous
#8C70CD #BA70CD #CD70B2
triadic
#BA70CD #CDBA70 #70CDBA
tetradic
#BA70CD #CD8C70 #83CD70 #70B2CD
square
#BA70CD #CD8C70 #83CD70 #70B2CD
split-complementary
#BA70CD #B2CD70 #70CD8C
monochromatic
#7D3290 #A443BD #BA70CD #D09DDD #E6CBED
Accessibility & contrast
On white
3.34
#BA70CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#BA70CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA70CD
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA70CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA70CD | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#BB7C95
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ba70cd; /* rgb */ color: rgb(186, 112, 205); /* oklch */ color: oklch(66.0% 0.154 319.2);
Tailwind
colors: {
custom: {
50: '#d09bdc',
500: '#ba70cd',
950: '#000000',
},
}SCSS
$custom: #ba70cd; $custom-light: #d09bdc; $custom-dark: #000000;
JSON
{
"hex": "#ba70cd",
"rgb": {
"r": 186,
"g": 112,
"b": 205
},
"hsl": {
"h": 287.742,
"s": 48.187,
"l": 62.157
},
"oklch": {
"l": 0.66002,
"c": 0.15393,
"h": 319.2
},
"luminance": 0.26435
}Semantic roles & 50–950 ramp
primary
#BA70CD
secondary
#C2DDBB
accent
#BB2A48
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83