#B282CB#B282CB

#B282CB is a light, moderate violet. Relative luminance 0.297; OKLCH L 68.0% C 0.117 H 313.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B282CB
RGBrgb(178, 130, 203)
HSLhsl(279, 41%, 65%)
HSVhsv(279, 36%, 80%)
CMYKcmyk(12.3%, 36%, 0%, 20.4%)
CIE-LABlab(61.43, 31.72, -30.71)
CIE-LCHlch(61.43, 44.16, 315.92°)
OKLaboklab(68.02% 0.0804 -0.0845)
OKLCHoklch(68.02% 0.117 313.6)
XYZxyz(37.1205, 29.7427, 60.2738)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282CB #9BCB82
analogous
#8D82CB #B282CB #CB82BF
triadic
#B282CB #CBB282 #82CBB2
tetradic
#B282CB #CB8D82 #9BCB82 #82BFCB
square
#B282CB #CB8D82 #9BCB82 #82BFCB
split-complementary
#B282CB #BFCB82 #82CB8D
monochromatic
#773E95 #9757B9 #B282CB #CDADDD #E7D8EF

Accessibility & contrast

On white

3.02
#B282CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B282CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282CB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282CB#FFFFFF#000000##000000
##B282CB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#8196C9
Tritanopia (blue-blind)
#B08C9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b282cb;
/* rgb */ color: rgb(178, 130, 203);
/* oklch */ color: oklch(68.0% 0.117 313.6);
Tailwind
colors: {
  custom: {
    50: '#caa7db',
    500: '#b282cb',
    950: '#000000',
  },
}
SCSS
$custom: #b282cb;
$custom-light: #caa7db;
$custom-dark: #000000;
JSON
{
  "hex": "#b282cb",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 279.452,
    "s": 41.243,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68019,
    "c": 0.1166,
    "h": 313.6
  },
  "luminance": 0.29742
}

Semantic roles & 50–950 ramp

primary
#B282CB
secondary
#D1E1C8
accent
#B4315E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B282CB

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

Preview Lab → · Contrast checker → · Palette generator →

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