#B282CA#B282CA

#B282CA is a light, moderate purple. Relative luminance 0.297; OKLCH L 68.0% C 0.115 H 314.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B282CA
RGBrgb(178, 130, 202)
HSLhsl(280, 40%, 65%)
HSVhsv(280, 36%, 79%)
CMYKcmyk(11.9%, 35.6%, 0%, 20.8%)
CIE-LABlab(61.39, 31.51, -30.22)
CIE-LCHlch(61.39, 43.66, 316.20°)
OKLaboklab(67.97% 0.0801 -0.0831)
OKLCHoklch(67.97% 0.115 314)
XYZxyz(37.0017, 29.6952, 59.6482)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282CA #9ACA82
analogous
#8E82CA #B282CA #CA82BE
triadic
#B282CA #CAB282 #82CAB2
tetradic
#B282CA #CA8E82 #9ACA82 #82BECA
square
#B282CA #CA8E82 #9ACA82 #82BECA
split-complementary
#B282CA #BECA82 #82CA8E
monochromatic
#773E93 #9857B8 #B282CA #CCADDC #E7D8EE

Accessibility & contrast

On white

3.03
#B282CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B282CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282CA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282CA#FFFFFF#000000##000000
##B282CA1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CD
Deuteranopia (green-blind)
#8196C8
Tritanopia (blue-blind)
#B08B9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b282ca;
/* rgb */ color: rgb(178, 130, 202);
/* oklch */ color: oklch(68.0% 0.115 314.0);
Tailwind
colors: {
  custom: {
    50: '#caa7da',
    500: '#b282ca',
    950: '#000000',
  },
}
SCSS
$custom: #b282ca;
$custom-light: #caa7da;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ca",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67974,
    "c": 0.11541,
    "h": 314
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#B282CA
secondary
#D0E0C8
accent
#B3325D
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #B282CA

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

Preview Lab → · Contrast checker → · Palette generator →

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