#B462CF#B462CF
#B462CF is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.3% C 0.176 H 317.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B462CF |
|---|---|
| RGB | rgb(180, 98, 207) |
| HSL | hsl(285, 53%, 60%) |
| HSV | hsv(285, 53%, 81%) |
| CMYK | cmyk(13%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(55.02, 50.40, -43.00) |
| CIE-LCH | lch(55.02, 66.25, 319.53°) |
| OKLab | oklab(63.33% 0.1291 -0.1196) |
| OKLCH | oklch(63.33% 0.176 317.2) |
| XYZ | xyz(34.4509, 22.9448, 61.6334) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.78
Amethyst
#9B5FC0
ΔE00 5.24
Pinkish Purple
#D648D7
ΔE00 6.27
Soft Purple
#A66FB5
ΔE00 6.31
Pinky Purple
#C94CBE
ΔE00 6.38
Bright Lilac
#C95EFB
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B462CF #7DCF62
analogous
#7E62CF #B462CF #CF62B3
triadic
#B462CF #CFB462 #62CFB4
tetradic
#B462CF #CF7E62 #7DCF62 #62B3CF
square
#B462CF #CF7E62 #7DCF62 #62B3CF
split-complementary
#B462CF #B3CF62 #62CF7E
monochromatic
#742B8C #9B39BB #B462CF #CA91DD #E1C0EC
Accessibility & contrast
On white
3.76
#B462CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#B462CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B462CF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B462CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B462CF | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ED3
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#B3738F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b462cf; /* rgb */ color: rgb(180, 98, 207); /* oklch */ color: oklch(63.3% 0.176 317.2);
Tailwind
colors: {
custom: {
50: '#cd92de',
500: '#b462cf',
950: '#000000',
},
}SCSS
$custom: #b462cf; $custom-light: #cd92de; $custom-dark: #000000;
JSON
{
"hex": "#b462cf",
"rgb": {
"r": 180,
"g": 98,
"b": 207
},
"hsl": {
"h": 285.138,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.63331,
"c": 0.17603,
"h": 317.2
},
"luminance": 0.22944
}Semantic roles & 50–950 ramp
primary
#B462CF
secondary
#BCDBB1
accent
#DD4B6F
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83