#B281CD#B281CD

#B281CD is a light, vivid violet. Relative luminance 0.296; OKLCH L 67.9% C 0.121 H 313.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B281CD
RGBrgb(178, 129, 205)
HSLhsl(279, 43%, 65%)
HSVhsv(279, 37%, 80%)
CMYKcmyk(13.2%, 37.1%, 0%, 19.6%)
CIE-LABlab(61.28, 32.71, -32.07)
CIE-LCHlch(61.28, 45.80, 315.57°)
OKLaboklab(67.94% 0.0823 -0.0883)
OKLCHoklch(67.94% 0.121 313)
XYZxyz(37.2280, 29.5739, 61.4930)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281CD #9CCD81
analogous
#8C81CD #B281CD #CD81C2
triadic
#B281CD #CDB281 #81CDB2
tetradic
#B281CD #CD8C81 #9CCD81 #81C2CD
square
#B281CD #CD8C81 #9CCD81 #81C2CD
split-complementary
#B281CD #C2CD81 #81CD8C
monochromatic
#773C97 #9755BC #B281CD #CDADDE #E8D9F0

Accessibility & contrast

On white

3.04
#B281CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B281CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B281CD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281CD#FFFFFF#000000##000000
##B281CD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#B08B9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b281cd;
/* rgb */ color: rgb(178, 129, 205);
/* oklch */ color: oklch(67.9% 0.121 313.0);
Tailwind
colors: {
  custom: {
    50: '#caa6dc',
    500: '#b281cd',
    950: '#000000',
  },
}
SCSS
$custom: #b281cd;
$custom-light: #caa6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b281cd",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 278.684,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67935,
    "c": 0.12074,
    "h": 313
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

primary
#B281CD
secondary
#D1E2C8
accent
#B62F5F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B281CD

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

Preview Lab → · Contrast checker → · Palette generator →

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