#B281CA#B281CA

#B281CA is a light, moderate purple. Relative luminance 0.294; OKLCH L 67.8% C 0.117 H 314.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B281CA
RGBrgb(178, 129, 202)
HSLhsl(280, 41%, 65%)
HSVhsv(280, 36%, 79%)
CMYKcmyk(11.9%, 36.1%, 0%, 20.8%)
CIE-LABlab(61.16, 32.07, -30.57)
CIE-LCHlch(61.16, 44.31, 316.37°)
OKLaboklab(67.8% 0.0816 -0.0841)
OKLCHoklch(67.8% 0.117 314.1)
XYZxyz(36.8693, 29.4305, 59.6041)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281CA #99CA81
analogous
#8E81CA #B281CA #CA81BD
triadic
#B281CA #CAB281 #81CAB2
tetradic
#B281CA #CA8E81 #99CA81 #81BDCA
square
#B281CA #CA8E81 #99CA81 #81BDCA
split-complementary
#B281CA #BDCA81 #81CA8E
monochromatic
#773E93 #9856B8 #B281CA #CCACDC #E7D7EE

Accessibility & contrast

On white

3.05
#B281CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B281CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B281CA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281CA#FFFFFF#000000##000000
##B281CA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#B08B9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b281ca;
/* rgb */ color: rgb(178, 129, 202);
/* oklch */ color: oklch(67.8% 0.117 314.1);
Tailwind
colors: {
  custom: {
    50: '#caa6da',
    500: '#b281ca',
    950: '#000000',
  },
}
SCSS
$custom: #b281ca;
$custom-light: #caa6da;
$custom-dark: #000000;
JSON
{
  "hex": "#b281ca",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 280.274,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67799,
    "c": 0.11717,
    "h": 314.1
  },
  "luminance": 0.2943
}

Semantic roles & 50–950 ramp

primary
#B281CA
secondary
#CFE0C7
accent
#B4325C
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #B281CA

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

Preview Lab → · Contrast checker → · Palette generator →

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