#B282CC#B282CC

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

Color values

HEX#B282CC
RGBrgb(178, 130, 204)
HSLhsl(279, 42%, 65%)
HSVhsv(279, 36%, 80%)
CMYKcmyk(12.7%, 36.3%, 0%, 20%)
CIE-LABlab(61.47, 31.93, -31.21)
CIE-LCHlch(61.47, 44.66, 315.65°)
OKLaboklab(68.06% 0.0806 -0.0859)
OKLCHoklch(68.06% 0.118 313.2)
XYZxyz(37.2400, 29.7905, 60.9034)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282CC #9CCC82
analogous
#8D82CC #B282CC #CC82C1
triadic
#B282CC #CCB282 #82CCB2
tetradic
#B282CC #CC8D82 #9CCC82 #82C1CC
square
#B282CC #CC8D82 #9CCC82 #82C1CC
split-complementary
#B282CC #C1CC82 #82CC8D
monochromatic
#773D96 #9757BA #B282CC #CDADDE #E8D9EF

Accessibility & contrast

On white

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

On black

6.96
#B282CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282CC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282CC#FFFFFF#000000##000000
##B282CC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#B08C9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b282cc;
/* rgb */ color: rgb(178, 130, 204);
/* oklch */ color: oklch(68.1% 0.118 313.2);
Tailwind
colors: {
  custom: {
    50: '#caa7db',
    500: '#b282cc',
    950: '#000000',
  },
}
SCSS
$custom: #b282cc;
$custom-light: #caa7db;
$custom-dark: #000000;
JSON
{
  "hex": "#b282cc",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 278.919,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.11779,
    "h": 313.2
  },
  "luminance": 0.2979
}

Semantic roles & 50–950 ramp

primary
#B282CC
secondary
#D1E1C9
accent
#B5305F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B282CC

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

Preview Lab → · Contrast checker → · Palette generator →

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