#B462FA#B462FA
#B462FA is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.221 H 306.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B462FA |
|---|---|
| RGB | rgb(180, 98, 250) |
| HSL | hsl(272, 94%, 68%) |
| HSV | hsv(272, 61%, 98%) |
| CMYK | cmyk(28%, 60.8%, 0%, 2%) |
| CIE-LAB | lab(57.41, 59.66, -63.32) |
| CIE-LCH | lch(57.41, 87.00, 313.30°) |
| OKLab | oklab(65.85% 0.1304 -0.179) |
| OKLCH | oklch(65.85% 0.221 306.1) |
| XYZ | xyz(40.4417, 25.3411, 93.1848) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.85
Bright Lavender
#C760FF
ΔE00 3.17
Lighter Purple
#A55AF4
ΔE00 3.52
Bright Lilac
#C95EFB
ΔE00 3.57
Easter Purple
#C071FE
ΔE00 4.12
Light Purple
#BF77F6
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B462FA #A8FA62
analogous
#6862FA #B462FA #FA62F4
triadic
#B462FA #FAB462 #62FAB4
tetradic
#B462FA #FA6862 #A8FA62 #62F4FA
square
#B462FA #FA6862 #A8FA62 #62F4FA
split-complementary
#B462FA #F4FA62 #62FA68
monochromatic
#7907DB #9827F8 #B462FA #D09DFC #EDD9FE
Accessibility & contrast
On white
3.46
#B462FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#B462FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B462FA
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B462FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B462FA | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0787FF
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#A881A5
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b462fa; /* rgb */ color: rgb(180, 98, 250); /* oklch */ color: oklch(65.8% 0.221 306.1);
Tailwind
colors: {
custom: {
50: '#cf93fd',
500: '#b462fa',
950: '#000000',
},
}SCSS
$custom: #b462fa; $custom-light: #cf93fd; $custom-dark: #000000;
JSON
{
"hex": "#b462fa",
"rgb": {
"r": 180,
"g": 98,
"b": 250
},
"hsl": {
"h": 272.368,
"s": 93.827,
"l": 68.235
},
"oklch": {
"l": 0.6585,
"c": 0.22146,
"h": 306.1
},
"luminance": 0.25341
}Semantic roles & 50–950 ramp
primary
#B462FA
secondary
#DAF3C5
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86