#B452F3#B452F3
#B452F3 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.4% C 0.235 H 309.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B452F3 |
|---|---|
| RGB | rgb(180, 82, 243) |
| HSL | hsl(277, 87%, 64%) |
| HSV | hsv(277, 66%, 95%) |
| CMYK | cmyk(25.9%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(54.25, 65.59, -64.51) |
| CIE-LCH | lch(54.25, 92.00, 315.48°) |
| OKLab | oklab(63.43% 0.1485 -0.1824) |
| OKLCH | oklch(63.43% 0.235 309.2) |
| XYZ | xyz(38.0141, 22.2096, 87.0610) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.77
Lightish Purple
#A552E6
ΔE00 3.07
Bright Lilac
#C95EFB
ΔE00 4.95
Bright Lavender
#C760FF
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.29
Light Urple
#B36FF6
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B452F3 #91F352
analogous
#6352F3 #B452F3 #F352E1
triadic
#B452F3 #F3B452 #52F3B4
tetradic
#B452F3 #F36352 #91F352 #52E1F3
square
#B452F3 #F36352 #91F352 #52E1F3
split-complementary
#B452F3 #E1F352 #52F363
monochromatic
#780DBD #9B19EF #B452F3 #CD8BF7 #E6C4FB
Accessibility & contrast
On white
3.86
#B452F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#B452F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B452F3
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B452F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B452F3 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#3583EF
Tritanopia (blue-blind)
#AB749C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b452f3; /* rgb */ color: rgb(180, 82, 243); /* oklch */ color: oklch(63.4% 0.235 309.2);
Tailwind
colors: {
custom: {
50: '#cf89f8',
500: '#b452f3',
950: '#000000',
},
}SCSS
$custom: #b452f3; $custom-light: #cf89f8; $custom-dark: #000000;
JSON
{
"hex": "#b452f3",
"rgb": {
"r": 180,
"g": 82,
"b": 243
},
"hsl": {
"h": 276.522,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.63433,
"c": 0.23527,
"h": 309.2
},
"luminance": 0.22209
}Semantic roles & 50–950 ramp
primary
#B452F3
secondary
#CAEDB4
accent
#E4025A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85