#B165CD#B165CD
#B165CD is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.168 H 316.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B165CD |
|---|---|
| RGB | rgb(177, 101, 205) |
| HSL | hsl(284, 51%, 60%) |
| HSV | hsv(284, 51%, 80%) |
| CMYK | cmyk(13.7%, 50.7%, 0%, 19.6%) |
| CIE-LAB | lab(55.14, 47.62, -41.70) |
| CIE-LCH | lch(55.14, 63.30, 318.80°) |
| OKLab | oklab(63.31% 0.1212 -0.1159) |
| OKLCH | oklch(63.31% 0.168 316.3) |
| XYZ | xyz(33.8029, 23.0633, 60.4168) |
| Luminance | 0.2306 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.59
Amethyst
#9B5FC0
ΔE00 4.95
Soft Purple
#A66FB5
ΔE00 5.62
Deep Lilac
#966EBD
ΔE00 6.16
Pinky Purple
#C94CBE
ΔE00 6.94
Light Urple
#B36FF6
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B165CD #81CD65
analogous
#7D65CD #B165CD #CD65B5
triadic
#B165CD #CDB165 #65CDB1
tetradic
#B165CD #CD7D65 #81CD65 #65B5CD
square
#B165CD #CD7D65 #81CD65 #65B5CD
split-complementary
#B165CD #B5CD65 #65CD7D
monochromatic
#712D8B #973CB9 #B165CD #C893DC #E0C1EB
Accessibility & contrast
On white
3.74
#B165CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#B165CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B165CD
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B165CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B165CD | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F7FD1
Deuteranopia (green-blind)
#6786CA
Tritanopia (blue-blind)
#B07590
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b165cd; /* rgb */ color: rgb(177, 101, 205); /* oklch */ color: oklch(63.3% 0.168 316.3);
Tailwind
colors: {
custom: {
50: '#ca93dc',
500: '#b165cd',
950: '#000000',
},
}SCSS
$custom: #b165cd; $custom-light: #ca93dc; $custom-dark: #000000;
JSON
{
"hex": "#b165cd",
"rgb": {
"r": 177,
"g": 101,
"b": 205
},
"hsl": {
"h": 283.846,
"s": 50.98,
"l": 60
},
"oklch": {
"l": 0.63309,
"c": 0.16775,
"h": 316.3
},
"luminance": 0.23062
}Semantic roles & 50–950 ramp
primary
#B165CD
secondary
#BEDBB3
accent
#DA4D73
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83