#B662F5#B662F5
#B662F5 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.217 H 307.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B662F5 |
|---|---|
| RGB | rgb(182, 98, 245) |
| HSL | hsl(274, 88%, 67%) |
| HSV | hsv(274, 60%, 96%) |
| CMYK | cmyk(25.7%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(57.34, 59.00, -60.64) |
| CIE-LCH | lch(57.34, 84.61, 314.21°) |
| OKLab | oklab(65.76% 0.133 -0.1711) |
| OKLCH | oklch(65.76% 0.217 307.9) |
| XYZ | xyz(40.1372, 25.2736, 89.1323) |
| Luminance | 0.2527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.87
Bright Lavender
#C760FF
ΔE00 2.89
Bright Lilac
#C95EFB
ΔE00 3.13
Lighter Purple
#A55AF4
ΔE00 3.82
Easter Purple
#C071FE
ΔE00 4.04
Light Purple
#BF77F6
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B662F5 #A1F562
analogous
#6D62F5 #B662F5 #F562EA
triadic
#B662F5 #F5B662 #62F5B6
tetradic
#B662F5 #F56D62 #A1F562 #62EAF5
square
#B662F5 #F56D62 #A1F562 #62EAF5
split-complementary
#B662F5 #EAF562 #62F56D
monochromatic
#7C0DCF #9B28F1 #B662F5 #D19CF9 #ECD5FC
Accessibility & contrast
On white
3.47
#B662F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#B662F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B662F5
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B662F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B662F5 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E86FA
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#AC7FA3
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b662f5; /* rgb */ color: rgb(182, 98, 245); /* oklch */ color: oklch(65.8% 0.217 307.9);
Tailwind
colors: {
custom: {
50: '#d093f9',
500: '#b662f5',
950: '#000000',
},
}SCSS
$custom: #b662f5; $custom-light: #d093f9; $custom-dark: #000000;
JSON
{
"hex": "#b662f5",
"rgb": {
"r": 182,
"g": 98,
"b": 245
},
"hsl": {
"h": 274.286,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.65758,
"c": 0.2167,
"h": 307.9
},
"luminance": 0.25273
}Semantic roles & 50–950 ramp
primary
#B662F5
secondary
#D6F1C2
accent
#E50162
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85