#B281DB#B281DB

#B281DB is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.138 H 308.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B281DB
RGBrgb(178, 129, 219)
HSLhsl(273, 56%, 68%)
HSVhsv(273, 41%, 86%)
CMYKcmyk(18.7%, 41.1%, 0%, 14.1%)
CIE-LABlab(61.90, 35.77, -38.96)
CIE-LCHlch(61.90, 52.89, 312.55°)
OKLaboklab(68.6% 0.0852 -0.1082)
OKLCHoklch(68.6% 0.138 308.2)
XYZxyz(38.9941, 30.2804, 70.7946)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281DB #AADB81
analogous
#8581DB #B281DB #DB81D7
triadic
#B281DB #DBB281 #81DBB2
tetradic
#B281DB #DB8581 #AADB81 #81D7DB
square
#B281DB #DB8581 #AADB81 #81D7DB
split-complementary
#B281DB #D7DB81 #81DB85
monochromatic
#7632AF #9551CD #B281DB #CFB1E9 #ECE0F6

Accessibility & contrast

On white

2.98
#B281DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B281DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281DB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281DB#FFFFFF#000000##000000
##B281DB1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#7996D9
Tritanopia (blue-blind)
#AD8FA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b281db;
/* rgb */ color: rgb(178, 129, 219);
/* oklch */ color: oklch(68.6% 0.138 308.2);
Tailwind
colors: {
  custom: {
    50: '#caa6e6',
    500: '#b281db',
    950: '#000000',
  },
}
SCSS
$custom: #b281db;
$custom-light: #caa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b281db",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 272.667,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68597,
    "c": 0.13767,
    "h": 308.2
  },
  "luminance": 0.3028
}

Semantic roles & 50–950 ramp

primary
#B281DB
secondary
#DBEACE
accent
#C3226C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B281DB

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

Preview Lab → · Contrast checker → · Palette generator →

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