#B682F2#B682F2
#B682F2 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.165 H 303.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B682F2 |
|---|---|
| RGB | rgb(182, 130, 242) |
| HSL | hsl(268, 81%, 73%) |
| HSV | hsv(268, 46%, 95%) |
| CMYK | cmyk(24.8%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(63.61, 41.58, -49.00) |
| CIE-LCH | lch(63.61, 64.27, 310.32°) |
| OKLab | oklab(70.33% 0.0922 -0.1372) |
| OKLCH | oklch(70.33% 0.165 303.9) |
| XYZ | xyz(43.2976, 32.3213, 87.9448) |
| Luminance | 0.3232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.18
Liliac
#C48EFD
ΔE00 3.73
Easter Purple
#C071FE
ΔE00 4.56
Light Urple
#B36FF6
ΔE00 4.78
Baby Purple
#CA9BF7
ΔE00 7.05
Pale Purple
#B790D4
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B682F2 #BEF282
analogous
#8286F2 #B682F2 #EE82F2
triadic
#B682F2 #F2B682 #82F2B6
tetradic
#B682F2 #F28286 #BEF282 #82F2EE
square
#B682F2 #F28286 #BEF282 #82F2EE
split-complementary
#B682F2 #F2EE82 #86F282
monochromatic
#7618E2 #964BEC #B682F2 #D6B9F8 #EFE3FC
Accessibility & contrast
On white
2.81
#B682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#B682F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B682F2
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B682F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B682F2 | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#AC95AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b682f2; /* rgb */ color: rgb(182, 130, 242); /* oklch */ color: oklch(70.3% 0.165 303.9);
Tailwind
colors: {
custom: {
50: '#cea7f7',
500: '#b682f2',
950: '#000000',
},
}SCSS
$custom: #b682f2; $custom-light: #cea7f7; $custom-dark: #000000;
JSON
{
"hex": "#b682f2",
"rgb": {
"r": 182,
"g": 130,
"b": 242
},
"hsl": {
"h": 267.857,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.7033,
"c": 0.16527,
"h": 303.9
},
"luminance": 0.32321
}Semantic roles & 50–950 ramp
primary
#B682F2
secondary
#E7F4D7
accent
#DE087A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85