#B282DB#B282DB

#B282DB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.136 H 308.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B282DB
RGBrgb(178, 130, 219)
HSLhsl(272, 55%, 68%)
HSVhsv(272, 41%, 86%)
CMYKcmyk(18.7%, 40.6%, 0%, 14.1%)
CIE-LABlab(62.12, 35.22, -38.61)
CIE-LCHlch(62.12, 52.26, 312.37°)
OKLaboklab(68.77% 0.0837 -0.1071)
OKLCHoklch(68.77% 0.136 308)
XYZxyz(39.1265, 30.5451, 70.8387)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282DB #ABDB82
analogous
#8582DB #B282DB #DB82D7
triadic
#B282DB #DBB282 #82DBB2
tetradic
#B282DB #DB8582 #ABDB82 #82D7DB
square
#B282DB #DB8582 #ABDB82 #82D7DB
split-complementary
#B282DB #D7DB82 #82DB85
monochromatic
#7633B0 #9552CD #B282DB #CFB2E9 #EDE1F6

Accessibility & contrast

On white

2.95
#B282DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B282DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282DB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282DB#FFFFFF#000000##000000
##B282DB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#AC90A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b282db;
/* rgb */ color: rgb(178, 130, 219);
/* oklch */ color: oklch(68.8% 0.136 308.0);
Tailwind
colors: {
  custom: {
    50: '#caa7e6',
    500: '#b282db',
    950: '#000000',
  },
}
SCSS
$custom: #b282db;
$custom-light: #caa7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b282db",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 272.36,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.13599,
    "h": 308
  },
  "luminance": 0.30545
}

Semantic roles & 50–950 ramp

primary
#B282DB
secondary
#DBEACF
accent
#C3236C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B282DB

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

Preview Lab → · Contrast checker → · Palette generator →

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