#B462DF#B462DF
#B462DF is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.193 H 312.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B462DF |
|---|---|
| RGB | rgb(180, 98, 223) |
| HSL | hsl(279, 66%, 63%) |
| HSV | hsv(279, 56%, 87%) |
| CMYK | cmyk(19.3%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(55.85, 53.74, -50.73) |
| CIE-LCH | lch(55.85, 73.90, 316.65°) |
| OKLab | oklab(64.22% 0.1303 -0.1421) |
| OKLCH | oklch(64.22% 0.193 312.5) |
| XYZ | xyz(36.5070, 23.7673, 72.4621) |
| Luminance | 0.2377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.57
Bright Lilac
#C95EFB
ΔE00 4.68
Light Urple
#B36FF6
ΔE00 4.74
Bright Lavender
#C760FF
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.14
Lightish Purple
#A552E6
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B462DF #8DDF62
analogous
#7562DF #B462DF #DF62CC
triadic
#B462DF #DFB462 #62DFB4
tetradic
#B462DF #DF7562 #8DDF62 #62CCDF
square
#B462DF #DF7562 #8DDF62 #62CCDF
split-complementary
#B462DF #CCDF62 #62DF75
monochromatic
#7822A5 #9C2FD5 #B462DF #CC95E9 #E5C8F4
Accessibility & contrast
On white
3.65
#B462DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#B462DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B462DF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B462DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B462DF | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D82E3
Deuteranopia (green-blind)
#5B88DC
Tritanopia (blue-blind)
#B07897
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b462df; /* rgb */ color: rgb(180, 98, 223); /* oklch */ color: oklch(64.2% 0.193 312.5);
Tailwind
colors: {
custom: {
50: '#cd92e9',
500: '#b462df',
950: '#000000',
},
}SCSS
$custom: #b462df; $custom-light: #cd92e9; $custom-dark: #000000;
JSON
{
"hex": "#b462df",
"rgb": {
"r": 180,
"g": 98,
"b": 223
},
"hsl": {
"h": 279.36,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.64219,
"c": 0.1928,
"h": 312.5
},
"luminance": 0.23766
}Semantic roles & 50–950 ramp
primary
#B462DF
secondary
#C7E5B8
accent
#CE1756
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84