#B282CF#B282CF
#B282CF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.2% C 0.121 H 312.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B282CF |
|---|---|
| RGB | rgb(178, 130, 207) |
| HSL | hsl(277, 45%, 66%) |
| HSV | hsv(277, 37%, 81%) |
| CMYK | cmyk(14%, 37.2%, 0%, 18.8%) |
| CIE-LAB | lab(61.60, 32.58, -32.70) |
| CIE-LCH | lch(61.60, 46.16, 314.89°) |
| OKLab | oklab(68.2% 0.0813 -0.0902) |
| OKLCH | oklch(68.2% 0.121 312) |
| XYZ | xyz(37.6033, 29.9359, 62.8167) |
| Luminance | 0.2994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.80
Pale Purple
#B790D4
ΔE00 3.97
Soft Purple
#A66FB5
ΔE00 6.60
Orchid (survey)
#C875C4
ΔE00 6.60
Light Purple
#BF77F6
ΔE00 7.50
Liliac
#C48EFD
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B282CF #9FCF82
analogous
#8B82CF #B282CF #CF82C5
triadic
#B282CF #CFB282 #82CFB2
tetradic
#B282CF #CF8B82 #9FCF82 #82C5CF
square
#B282CF #CF8B82 #9FCF82 #82C5CF
split-complementary
#B282CF #C5CF82 #82CF8B
monochromatic
#773C9B #9756BE #B282CF #CDAEE0 #E8DAF1
Accessibility & contrast
On white
3.01
#B282CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#B282CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B282CF
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B282CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B282CF | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#AF8D9F
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b282cf; /* rgb */ color: rgb(178, 130, 207); /* oklch */ color: oklch(68.2% 0.121 312.0);
Tailwind
colors: {
custom: {
50: '#caa7de',
500: '#b282cf',
950: '#000000',
},
}SCSS
$custom: #b282cf; $custom-light: #caa7de; $custom-dark: #000000;
JSON
{
"hex": "#b282cf",
"rgb": {
"r": 178,
"g": 130,
"b": 207
},
"hsl": {
"h": 277.403,
"s": 44.509,
"l": 66.078
},
"oklch": {
"l": 0.68201,
"c": 0.1214,
"h": 312
},
"luminance": 0.29935
}Semantic roles & 50–950 ramp
primary
#B282CF
secondary
#D3E3CA
accent
#B82E62
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83