#B282CD#B282CD
#B282CD is a light, moderate violet. Relative luminance 0.298; OKLCH L 68.1% C 0.119 H 312.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B282CD |
|---|---|
| RGB | rgb(178, 130, 205) |
| HSL | hsl(278, 43%, 66%) |
| HSV | hsv(278, 37%, 80%) |
| CMYK | cmyk(13.2%, 36.6%, 0%, 19.6%) |
| CIE-LAB | lab(61.51, 32.15, -31.71) |
| CIE-LCH | lch(61.51, 45.16, 315.39°) |
| OKLab | oklab(68.11% 0.0808 -0.0873) |
| OKLCH | oklch(68.11% 0.119 312.8) |
| XYZ | xyz(37.3603, 29.8387, 61.5371) |
| Luminance | 0.2984 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.59
Pale Purple
#B790D4
ΔE00 3.94
Orchid (survey)
#C875C4
ΔE00 6.40
Soft Purple
#A66FB5
ΔE00 6.40
Deep Lilac
#966EBD
ΔE00 7.86
Light Purple
#BF77F6
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B282CD #9DCD82
analogous
#8C82CD #B282CD #CD82C2
triadic
#B282CD #CDB282 #82CDB2
tetradic
#B282CD #CD8C82 #9DCD82 #82C2CD
square
#B282CD #CD8C82 #9DCD82 #82C2CD
split-complementary
#B282CD #C2CD82 #82CD8C
monochromatic
#773D98 #9756BC #B282CD #CDAEDE #E8D9F0
Accessibility & contrast
On white
3.01
#B282CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#B282CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B282CD
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B282CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B282CD | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#B08C9E
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b282cd; /* rgb */ color: rgb(178, 130, 205); /* oklch */ color: oklch(68.1% 0.119 312.8);
Tailwind
colors: {
custom: {
50: '#caa7dc',
500: '#b282cd',
950: '#000000',
},
}SCSS
$custom: #b282cd; $custom-light: #caa7dc; $custom-dark: #000000;
JSON
{
"hex": "#b282cd",
"rgb": {
"r": 178,
"g": 130,
"b": 205
},
"hsl": {
"h": 278.4,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.68109,
"c": 0.119,
"h": 312.8
},
"luminance": 0.29838
}Semantic roles & 50–950 ramp
primary
#B282CD
secondary
#D2E2C9
accent
#B63060
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83