#B282ED#B282ED

#B282ED is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.158 H 303.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B282ED
RGBrgb(178, 130, 237)
HSLhsl(267, 75%, 72%)
HSVhsv(267, 45%, 93%)
CMYKcmyk(24.9%, 45.1%, 0%, 7.1%)
CIE-LABlab(62.96, 39.34, -47.28)
CIE-LCHlch(62.96, 61.51, 309.76°)
OKLaboklab(69.68% 0.0867 -0.1323)
OKLCHoklch(69.68% 0.158 303.2)
XYZxyz(41.6255, 31.5447, 84.0002)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282ED #BDED82
analogous
#8288ED #B282ED #E882ED
triadic
#B282ED #EDB282 #82EDB2
tetradic
#B282ED #ED8288 #BDED82 #82EDE8
square
#B282ED #ED8288 #BDED82 #82EDE8
split-complementary
#B282ED #EDE882 #88ED82
monochromatic
#711FD6 #914DE5 #B282ED #D3B7F5 #EFE4FB

Accessibility & contrast

On white

2.87
#B282ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B282ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282ED
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282ED#FFFFFF#000000##000000
##B282ED1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F1
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#A894AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b282ed;
/* rgb */ color: rgb(178, 130, 237);
/* oklch */ color: oklch(69.7% 0.158 303.2);
Tailwind
colors: {
  custom: {
    50: '#cba7f3',
    500: '#b282ed',
    950: '#000000',
  },
}
SCSS
$custom: #b282ed;
$custom-light: #cba7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ed",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 266.916,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69677,
    "c": 0.15816,
    "h": 303.2
  },
  "luminance": 0.31545
}

Semantic roles & 50–950 ramp

primary
#B282ED
secondary
#E7F3D8
accent
#D70F7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B282ED

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

Preview Lab → · Contrast checker → · Palette generator →

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