#B460E2#B460E2
#B460E2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.199 H 311.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B460E2 |
|---|---|
| RGB | rgb(180, 96, 226) |
| HSL | hsl(279, 69%, 63%) |
| HSV | hsv(279, 58%, 89%) |
| CMYK | cmyk(20.4%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(55.65, 55.38, -52.75) |
| CIE-LCH | lch(55.65, 76.48, 316.39°) |
| OKLab | oklab(64.12% 0.1329 -0.148) |
| OKLCH | oklch(64.12% 0.199 311.9) |
| XYZ | xyz(36.7303, 23.5609, 74.5496) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.63
Bright Lilac
#C95EFB
ΔE00 4.44
Lighter Purple
#A55AF4
ΔE00 4.59
Light Urple
#B36FF6
ΔE00 4.69
Bright Lavender
#C760FF
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B460E2 #8EE260
analogous
#7360E2 #B460E2 #E260CF
triadic
#B460E2 #E2B460 #60E2B4
tetradic
#B460E2 #E27360 #8EE260 #60CFE2
square
#B460E2 #E27360 #8EE260 #60CFE2
split-complementary
#B460E2 #CFE260 #60E273
monochromatic
#781FA9 #9C2CD9 #B460E2 #CC94EB #E5C8F5
Accessibility & contrast
On white
3.68
#B460E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#B460E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B460E2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B460E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B460E2 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#5787DF
Tritanopia (blue-blind)
#AF7798
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b460e2; /* rgb */ color: rgb(180, 96, 226); /* oklch */ color: oklch(64.1% 0.199 311.9);
Tailwind
colors: {
custom: {
50: '#cd91ec',
500: '#b460e2',
950: '#000000',
},
}SCSS
$custom: #b460e2; $custom-light: #cd91ec; $custom-dark: #000000;
JSON
{
"hex": "#b460e2",
"rgb": {
"r": 180,
"g": 96,
"b": 226
},
"hsl": {
"h": 278.769,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.6412,
"c": 0.19893,
"h": 311.9
},
"luminance": 0.2356
}Semantic roles & 50–950 ramp
primary
#B460E2
secondary
#C8E6B8
accent
#D11457
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84