#B281DE#B281DE

#B281DE is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.141 H 307.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B281DE
RGBrgb(178, 129, 222)
HSLhsl(272, 58%, 69%)
HSVhsv(272, 42%, 87%)
CMYKcmyk(19.8%, 41.9%, 0%, 12.9%)
CIE-LABlab(62.03, 36.44, -40.42)
CIE-LCHlch(62.03, 54.43, 312.04°)
OKLaboklab(68.74% 0.0857 -0.1124)
OKLCHoklch(68.74% 0.141 307.3)
XYZxyz(39.3926, 30.4398, 72.8933)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281DE #ADDE81
analogous
#8481DE #B281DE #DE81DC
triadic
#B281DE #DEB281 #81DEB2
tetradic
#B281DE #DE8481 #ADDE81 #81DCDE
square
#B281DE #DE8481 #ADDE81 #81DCDE
split-complementary
#B281DE #DCDE81 #81DE84
monochromatic
#762FB5 #9451D1 #B281DE #D0B1EB #EDE2F7

Accessibility & contrast

On white

2.96
#B281DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B281DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281DE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281DE#FFFFFF#000000##000000
##B281DE1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E1
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#AC90A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b281de;
/* rgb */ color: rgb(178, 129, 222);
/* oklch */ color: oklch(68.7% 0.141 307.3);
Tailwind
colors: {
  custom: {
    50: '#caa6e8',
    500: '#b281de',
    950: '#000000',
  },
}
SCSS
$custom: #b281de;
$custom-light: #caa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b281de",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 271.613,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68744,
    "c": 0.14133,
    "h": 307.3
  },
  "luminance": 0.30439
}

Semantic roles & 50–950 ramp

primary
#B281DE
secondary
#DDEBD0
accent
#C61F6E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B281DE

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

Preview Lab → · Contrast checker → · Palette generator →

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