#B282EB#B282EB

#B282EB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.156 H 303.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B282EB
RGBrgb(178, 130, 235)
HSLhsl(267, 72%, 72%)
HSVhsv(267, 45%, 92%)
CMYKcmyk(24.3%, 44.7%, 0%, 7.8%)
CIE-LABlab(62.87, 38.87, -46.33)
CIE-LCHlch(62.87, 60.48, 310.00°)
OKLaboklab(69.57% 0.0864 -0.1295)
OKLCHoklch(69.57% 0.156 303.7)
XYZxyz(41.3349, 31.4285, 82.4698)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282EB #BBEB82
analogous
#8287EB #B282EB #E782EB
triadic
#B282EB #EBB282 #82EBB2
tetradic
#B282EB #EB8287 #BBEB82 #82EBE7
square
#B282EB #EB8287 #BBEB82 #82EBE7
split-complementary
#B282EB #EBE782 #87EB82
monochromatic
#7221D1 #924DE3 #B282EB #D3B7F3 #EFE5FB

Accessibility & contrast

On white

2.88
#B282EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B282EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282EB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282EB#FFFFFF#000000##000000
##B282EB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#A894AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b282eb;
/* rgb */ color: rgb(178, 130, 235);
/* oklch */ color: oklch(69.6% 0.156 303.7);
Tailwind
colors: {
  custom: {
    50: '#cba7f2',
    500: '#b282eb',
    950: '#000000',
  },
}
SCSS
$custom: #b282eb;
$custom-light: #cba7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b282eb",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 267.429,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.1557,
    "h": 303.7
  },
  "luminance": 0.31428
}

Semantic roles & 50–950 ramp

primary
#B282EB
secondary
#E6F2D7
accent
#D4117B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B282EB

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

Preview Lab → · Contrast checker → · Palette generator →

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