#B281DA#B281DA

#B281DA is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.5% C 0.136 H 308.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B281DA
RGBrgb(178, 129, 218)
HSLhsl(273, 55%, 68%)
HSVhsv(273, 41%, 85%)
CMYKcmyk(18.3%, 40.8%, 0%, 14.5%)
CIE-LABlab(61.85, 35.55, -38.47)
CIE-LCHlch(61.85, 52.38, 312.74°)
OKLaboklab(68.55% 0.085 -0.1068)
OKLCHoklch(68.55% 0.136 308.5)
XYZxyz(38.8628, 30.2279, 70.1033)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281DA #A9DA81
analogous
#8581DA #B281DA #DA81D5
triadic
#B281DA #DAB281 #81DAB2
tetradic
#B281DA #DA8581 #A9DA81 #81D5DA
square
#B281DA #DA8581 #A9DA81 #81D5DA
split-complementary
#B281DA #D5DA81 #81DA85
monochromatic
#7733AE #9552CC #B281DA #CFB0E8 #ECE0F6

Accessibility & contrast

On white

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

On black

7.05
#B281DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281DA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281DA#FFFFFF#000000##000000
##B281DA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E93DD
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#AD8FA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b281da;
/* rgb */ color: rgb(178, 129, 218);
/* oklch */ color: oklch(68.5% 0.136 308.5);
Tailwind
colors: {
  custom: {
    50: '#caa6e6',
    500: '#b281da',
    950: '#000000',
  },
}
SCSS
$custom: #b281da;
$custom-light: #caa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b281da",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 273.034,
    "s": 54.601,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68548,
    "c": 0.13645,
    "h": 308.5
  },
  "luminance": 0.30227
}

Semantic roles & 50–950 ramp

primary
#B281DA
secondary
#DAE9CE
accent
#C2236B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B281DA

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

Preview Lab → · Contrast checker → · Palette generator →

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