#B462F2#B462F2
#B462F2 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.213 H 307.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B462F2 |
|---|---|
| RGB | rgb(180, 98, 242) |
| HSL | hsl(274, 85%, 67%) |
| HSV | hsv(274, 60%, 95%) |
| CMYK | cmyk(25.6%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.93, 57.87, -59.65) |
| CIE-LCH | lch(56.93, 83.11, 314.14°) |
| OKLab | oklab(65.35% 0.1305 -0.1682) |
| OKLCH | oklch(65.35% 0.213 307.8) |
| XYZ | xyz(39.2138, 24.8500, 86.7179) |
| Luminance | 0.2485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.99
Bright Lavender
#C760FF
ΔE00 3.32
Bright Lilac
#C95EFB
ΔE00 3.49
Lighter Purple
#A55AF4
ΔE00 3.57
Easter Purple
#C071FE
ΔE00 4.36
Lightish Purple
#A552E6
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B462F2 #A0F262
analogous
#6C62F2 #B462F2 #F262E8
triadic
#B462F2 #F2B462 #62F2B4
tetradic
#B462F2 #F26C62 #A0F262 #62E8F2
square
#B462F2 #F26C62 #A0F262 #62E8F2
split-complementary
#B462F2 #E8F262 #62F26C
monochromatic
#7A11C9 #9929ED #B462F2 #CF9BF7 #EAD3FB
Accessibility & contrast
On white
3.52
#B462F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#B462F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B462F2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B462F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B462F2 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#4B89EF
Tritanopia (blue-blind)
#AB7EA1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b462f2; /* rgb */ color: rgb(180, 98, 242); /* oklch */ color: oklch(65.3% 0.213 307.8);
Tailwind
colors: {
custom: {
50: '#ce92f7',
500: '#b462f2',
950: '#000000',
},
}SCSS
$custom: #b462f2; $custom-light: #ce92f7; $custom-dark: #000000;
JSON
{
"hex": "#b462f2",
"rgb": {
"r": 180,
"g": 98,
"b": 242
},
"hsl": {
"h": 274.167,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.6535,
"c": 0.21295,
"h": 307.8
},
"luminance": 0.24849
}Semantic roles & 50–950 ramp
primary
#B462F2
secondary
#D5EFC1
accent
#E10463
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85