#B281D9#B281D9

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

Color values

HEX#B281D9
RGBrgb(178, 129, 217)
HSLhsl(273, 54%, 68%)
HSVhsv(273, 41%, 85%)
CMYKcmyk(18%, 40.6%, 0%, 14.9%)
CIE-LABlab(61.81, 35.33, -37.99)
CIE-LCHlch(61.81, 51.87, 312.92°)
OKLaboklab(68.5% 0.0848 -0.1053)
OKLCHoklch(68.5% 0.135 308.8)
XYZxyz(38.7324, 30.1757, 69.4162)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281D9 #A8D981
analogous
#8681D9 #B281D9 #D981D4
triadic
#B281D9 #D9B281 #81D9B2
tetradic
#B281D9 #D98681 #A8D981 #81D4D9
square
#B281D9 #D98681 #A8D981 #81D4D9
split-complementary
#B281D9 #D4D981 #81D986
monochromatic
#7734AC #9552CB #B281D9 #CFB0E7 #EBDFF5

Accessibility & contrast

On white

2.99
#B281D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B281D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281D9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281D9#FFFFFF#000000##000000
##B281D91.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E93DC
Deuteranopia (green-blind)
#7A96D7
Tritanopia (blue-blind)
#AD8EA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b281d9;
/* rgb */ color: rgb(178, 129, 217);
/* oklch */ color: oklch(68.5% 0.135 308.8);
Tailwind
colors: {
  custom: {
    50: '#caa6e5',
    500: '#b281d9',
    950: '#000000',
  },
}
SCSS
$custom: #b281d9;
$custom-light: #caa6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b281d9",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 273.409,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68499,
    "c": 0.13523,
    "h": 308.8
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#B281D9
secondary
#D9E8CD
accent
#C1246A
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B281D9

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

Preview Lab → · Contrast checker → · Palette generator →

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