#B282CE#B282CE

#B282CE is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.2% C 0.120 H 312.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B282CE
RGBrgb(178, 130, 206)
HSLhsl(278, 44%, 66%)
HSVhsv(278, 37%, 81%)
CMYKcmyk(13.6%, 36.9%, 0%, 19.2%)
CIE-LABlab(61.56, 32.36, -32.21)
CIE-LCHlch(61.56, 45.66, 315.14°)
OKLaboklab(68.16% 0.081 -0.0888)
OKLCHoklch(68.16% 0.12 312.4)
XYZxyz(37.4814, 29.8871, 62.1748)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282CE #9ECE82
analogous
#8C82CE #B282CE #CE82C4
triadic
#B282CE #CEB282 #82CEB2
tetradic
#B282CE #CE8C82 #9ECE82 #82C4CE
square
#B282CE #CE8C82 #9ECE82 #82C4CE
split-complementary
#B282CE #C4CE82 #82CE8C
monochromatic
#773C99 #9756BD #B282CE #CDAEDF #E8DAF0

Accessibility & contrast

On white

3.01
#B282CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B282CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282CE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282CE#FFFFFF#000000##000000
##B282CE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D1
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#B08C9E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b282ce;
/* rgb */ color: rgb(178, 130, 206);
/* oklch */ color: oklch(68.2% 0.120 312.4);
Tailwind
colors: {
  custom: {
    50: '#caa7dd',
    500: '#b282ce',
    950: '#000000',
  },
}
SCSS
$custom: #b282ce;
$custom-light: #caa7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ce",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 277.895,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.12019,
    "h": 312.4
  },
  "luminance": 0.29886
}

Semantic roles & 50–950 ramp

primary
#B282CE
secondary
#D3E2C9
accent
#B72F61
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B282CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B282CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva