#B460E4#B460E4
#B460E4 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.2% C 0.201 H 311.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B460E4 |
|---|---|
| RGB | rgb(180, 96, 228) |
| HSL | hsl(278, 71%, 64%) |
| HSV | hsv(278, 58%, 89%) |
| CMYK | cmyk(21.1%, 57.9%, 0%, 10.6%) |
| CIE-LAB | lab(55.76, 55.81, -53.69) |
| CIE-LCH | lch(55.76, 77.44, 316.10°) |
| OKLab | oklab(64.24% 0.1329 -0.1508) |
| OKLCH | oklch(64.24% 0.201 311.4) |
| XYZ | xyz(37.0063, 23.6713, 76.0033) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.87
Bright Lilac
#C95EFB
ΔE00 4.27
Lighter Purple
#A55AF4
ΔE00 4.37
Light Urple
#B36FF6
ΔE00 4.47
Bright Lavender
#C760FF
ΔE00 4.49
Lightish Purple
#A552E6
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B460E4 #90E460
analogous
#7260E4 #B460E4 #E460D2
triadic
#B460E4 #E4B460 #60E4B4
tetradic
#B460E4 #E47260 #90E460 #60D2E4
square
#B460E4 #E47260 #90E460 #60D2E4
split-complementary
#B460E4 #D2E460 #60E472
monochromatic
#781DAC #9B2CDB #B460E4 #CD94ED #E5C9F6
Accessibility & contrast
On white
3.66
#B460E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#B460E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B460E4
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B460E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B460E4 | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#5587E1
Tritanopia (blue-blind)
#AE7899
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b460e4; /* rgb */ color: rgb(180, 96, 228); /* oklch */ color: oklch(64.2% 0.201 311.4);
Tailwind
colors: {
custom: {
50: '#ce91ed',
500: '#b460e4',
950: '#000000',
},
}SCSS
$custom: #b460e4; $custom-light: #ce91ed; $custom-dark: #000000;
JSON
{
"hex": "#b460e4",
"rgb": {
"r": 180,
"g": 96,
"b": 228
},
"hsl": {
"h": 278.182,
"s": 70.968,
"l": 63.529
},
"oklch": {
"l": 0.64237,
"c": 0.20102,
"h": 311.4
},
"luminance": 0.2367
}Semantic roles & 50–950 ramp
primary
#B460E4
secondary
#CAE7B9
accent
#D31359
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84