#B282EA#B282EA

#B282EA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.154 H 304.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B282EA
RGBrgb(178, 130, 234)
HSLhsl(268, 71%, 71%)
HSVhsv(268, 44%, 92%)
CMYKcmyk(23.9%, 44.4%, 0%, 8.2%)
CIE-LABlab(62.82, 38.64, -45.85)
CIE-LCHlch(62.82, 59.96, 310.12°)
OKLaboklab(69.52% 0.0863 -0.1281)
OKLCHoklch(69.52% 0.154 304)
XYZxyz(41.1908, 31.3709, 81.7111)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282EA #BAEA82
analogous
#8286EA #B282EA #E682EA
triadic
#B282EA #EAB282 #82EAB2
tetradic
#B282EA #EA8286 #BAEA82 #82EAE6
square
#B282EA #EA8286 #BAEA82 #82EAE6
split-complementary
#B282EA #EAE682 #86EA82
monochromatic
#7223CF #924EE1 #B282EA #D2B6F3 #EFE5FB

Accessibility & contrast

On white

2.89
#B282EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B282EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282EA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282EA#FFFFFF#000000##000000
##B282EA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#A994AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b282ea;
/* rgb */ color: rgb(178, 130, 234);
/* oklch */ color: oklch(69.5% 0.154 304.0);
Tailwind
colors: {
  custom: {
    50: '#cba7f1',
    500: '#b282ea',
    950: '#000000',
  },
}
SCSS
$custom: #b282ea;
$custom-light: #cba7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ea",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 267.692,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.15446,
    "h": 304
  },
  "luminance": 0.31371
}

Semantic roles & 50–950 ramp

primary
#B282EA
secondary
#E5F1D6
accent
#D3127A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B282EA

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

Preview Lab → · Contrast checker → · Palette generator →

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