#B282CD#B282CD

#B282CD is a light, moderate violet. Relative luminance 0.298; OKLCH L 68.1% C 0.119 H 312.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B282CD
RGBrgb(178, 130, 205)
HSLhsl(278, 43%, 66%)
HSVhsv(278, 37%, 80%)
CMYKcmyk(13.2%, 36.6%, 0%, 19.6%)
CIE-LABlab(61.51, 32.15, -31.71)
CIE-LCHlch(61.51, 45.16, 315.39°)
OKLaboklab(68.11% 0.0808 -0.0873)
OKLCHoklch(68.11% 0.119 312.8)
XYZxyz(37.3603, 29.8387, 61.5371)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282CD #9DCD82
analogous
#8C82CD #B282CD #CD82C2
triadic
#B282CD #CDB282 #82CDB2
tetradic
#B282CD #CD8C82 #9DCD82 #82C2CD
square
#B282CD #CD8C82 #9DCD82 #82C2CD
split-complementary
#B282CD #C2CD82 #82CD8C
monochromatic
#773D98 #9756BC #B282CD #CDAEDE #E8D9F0

Accessibility & contrast

On white

3.01
#B282CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B282CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282CD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282CD#FFFFFF#000000##000000
##B282CD1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#B08C9E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b282cd;
/* rgb */ color: rgb(178, 130, 205);
/* oklch */ color: oklch(68.1% 0.119 312.8);
Tailwind
colors: {
  custom: {
    50: '#caa7dc',
    500: '#b282cd',
    950: '#000000',
  },
}
SCSS
$custom: #b282cd;
$custom-light: #caa7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b282cd",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 278.4,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68109,
    "c": 0.119,
    "h": 312.8
  },
  "luminance": 0.29838
}

Semantic roles & 50–950 ramp

primary
#B282CD
secondary
#D2E2C9
accent
#B63060
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B282CD

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

Preview Lab → · Contrast checker → · Palette generator →

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