#B462CE#B462CE
#B462CE is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.3% C 0.175 H 317.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B462CE |
|---|---|
| RGB | rgb(180, 98, 206) |
| HSL | hsl(286, 52%, 60%) |
| HSV | hsv(286, 52%, 81%) |
| CMYK | cmyk(12.6%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(54.97, 50.19, -42.51) |
| CIE-LCH | lch(54.97, 65.78, 319.74°) |
| OKLab | oklab(63.28% 0.129 -0.1182) |
| OKLCH | oklch(63.28% 0.175 317.5) |
| XYZ | xyz(34.3291, 22.8961, 60.9916) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.81
Amethyst
#9B5FC0
ΔE00 5.22
Soft Purple
#A66FB5
ΔE00 6.18
Pinkish Purple
#D648D7
ΔE00 6.27
Pinky Purple
#C94CBE
ΔE00 6.27
Lightish Purple
#A552E6
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B462CE #7CCE62
analogous
#7E62CE #B462CE #CE62B2
triadic
#B462CE #CEB462 #62CEB4
tetradic
#B462CE #CE7E62 #7CCE62 #62B2CE
square
#B462CE #CE7E62 #7CCE62 #62B2CE
split-complementary
#B462CE #B2CE62 #62CE7E
monochromatic
#732B8A #9A3AB9 #B462CE #CA91DD #E1BFEB
Accessibility & contrast
On white
3.76
#B462CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#B462CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B462CE
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B462CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B462CE | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7ED2
Deuteranopia (green-blind)
#6686CB
Tritanopia (blue-blind)
#B3728F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b462ce; /* rgb */ color: rgb(180, 98, 206); /* oklch */ color: oklch(63.3% 0.175 317.5);
Tailwind
colors: {
custom: {
50: '#cd92dd',
500: '#b462ce',
950: '#000000',
},
}SCSS
$custom: #b462ce; $custom-light: #cd92dd; $custom-dark: #000000;
JSON
{
"hex": "#b462ce",
"rgb": {
"r": 180,
"g": 98,
"b": 206
},
"hsl": {
"h": 285.556,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.63277,
"c": 0.175,
"h": 317.5
},
"luminance": 0.22895
}Semantic roles & 50–950 ramp
primary
#B462CE
secondary
#BBDBB1
accent
#DC4C6F
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83