#B282C8#B282C8

#B282C8 is a light, moderate purple. Relative luminance 0.296; OKLCH L 67.9% C 0.113 H 314.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B282C8
RGBrgb(178, 130, 200)
HSLhsl(281, 39%, 65%)
HSVhsv(281, 35%, 78%)
CMYKcmyk(11%, 35%, 0%, 21.6%)
CIE-LABlab(61.31, 31.09, -29.22)
CIE-LCHlch(61.31, 42.66, 316.78°)
OKLaboklab(67.88% 0.0796 -0.0802)
OKLCHoklch(67.88% 0.113 314.8)
XYZxyz(36.7664, 29.6011, 58.4092)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282C8 #98C882
analogous
#8F82C8 #B282C8 #C882BB
triadic
#B282C8 #C8B282 #82C8B2
tetradic
#B282C8 #C88F82 #98C882 #82BBC8
square
#B282C8 #C88F82 #98C882 #82BBC8
split-complementary
#B282C8 #BBC882 #82C88F
monochromatic
#773F90 #9858B5 #B282C8 #CCADDB #E6D7ED

Accessibility & contrast

On white

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

On black

6.92
#B282C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282C8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282C8#FFFFFF#000000##000000
##B282C81.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7791CB
Deuteranopia (green-blind)
#8295C6
Tritanopia (blue-blind)
#B18B9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b282c8;
/* rgb */ color: rgb(178, 130, 200);
/* oklch */ color: oklch(67.9% 0.113 314.8);
Tailwind
colors: {
  custom: {
    50: '#caa7d9',
    500: '#b282c8',
    950: '#000000',
  },
}
SCSS
$custom: #b282c8;
$custom-light: #caa7d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b282c8",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 200
  },
  "hsl": {
    "h": 281.143,
    "s": 38.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.11304,
    "h": 314.8
  },
  "luminance": 0.296
}

Semantic roles & 50–950 ramp

primary
#B282C8
secondary
#CEDFC7
accent
#B2345B
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #B282C8

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

Preview Lab → · Contrast checker → · Palette generator →

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