#B165CF#B165CF
#B165CF is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.4% C 0.170 H 315.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B165CF |
|---|---|
| RGB | rgb(177, 101, 207) |
| HSL | hsl(283, 52%, 60%) |
| HSV | hsv(283, 51%, 81%) |
| CMYK | cmyk(14.5%, 51.2%, 0%, 18.8%) |
| CIE-LAB | lab(55.24, 48.04, -42.68) |
| CIE-LCH | lch(55.24, 64.26, 318.38°) |
| OKLab | oklab(63.42% 0.1214 -0.1188) |
| OKLCH | oklch(63.42% 0.17 315.6) |
| XYZ | xyz(34.0459, 23.1605, 61.6964) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.53
Amethyst
#9B5FC0
ΔE00 5.01
Soft Purple
#A66FB5
ΔE00 5.91
Deep Lilac
#966EBD
ΔE00 6.23
Light Urple
#B36FF6
ΔE00 6.69
Lightish Purple
#A552E6
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B165CF #83CF65
analogous
#7C65CF #B165CF #CF65B8
triadic
#B165CF #CFB165 #65CFB1
tetradic
#B165CF #CF7C65 #83CF65 #65B8CF
square
#B165CF #CF7C65 #83CF65 #65B8CF
split-complementary
#B165CF #B8CF65 #65CF7C
monochromatic
#722C8D #983BBC #B165CF #C994DE #E0C2EC
Accessibility & contrast
On white
3.73
#B165CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#B165CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B165CF
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B165CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B165CF | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#AF7591
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b165cf; /* rgb */ color: rgb(177, 101, 207); /* oklch */ color: oklch(63.4% 0.170 315.6);
Tailwind
colors: {
custom: {
50: '#ca93de',
500: '#b165cf',
950: '#000000',
},
}SCSS
$custom: #b165cf; $custom-light: #ca93de; $custom-dark: #000000;
JSON
{
"hex": "#b165cf",
"rgb": {
"r": 177,
"g": 101,
"b": 207
},
"hsl": {
"h": 283.019,
"s": 52.475,
"l": 60.392
},
"oklch": {
"l": 0.63415,
"c": 0.16989,
"h": 315.6
},
"luminance": 0.23159
}Semantic roles & 50–950 ramp
primary
#B165CF
secondary
#BFDCB4
accent
#C02651
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83