#B281DF#B281DF

#B281DF is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.143 H 307.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B281DF
RGBrgb(178, 129, 223)
HSLhsl(271, 59%, 69%)
HSVhsv(271, 42%, 87%)
CMYKcmyk(20.2%, 42.2%, 0%, 12.5%)
CIE-LABlab(62.08, 36.67, -40.91)
CIE-LCHlch(62.08, 54.94, 311.87°)
OKLaboklab(68.79% 0.0859 -0.1138)
OKLCHoklch(68.79% 0.143 307)
XYZxyz(39.5270, 30.4936, 73.6013)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281DF #AEDF81
analogous
#8381DF #B281DF #DF81DD
triadic
#B281DF #DFB281 #81DFB2
tetradic
#B281DF #DF8381 #AEDF81 #81DDDF
square
#B281DF #DF8381 #AEDF81 #81DDDF
split-complementary
#B281DF #DDDF81 #81DF83
monochromatic
#762FB7 #9450D3 #B281DF #D0B2EB #EEE3F8

Accessibility & contrast

On white

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

On black

7.10
#B281DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281DF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281DF#FFFFFF#000000##000000
##B281DF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#7797DC
Tritanopia (blue-blind)
#AC90A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b281df;
/* rgb */ color: rgb(178, 129, 223);
/* oklch */ color: oklch(68.8% 0.143 307.0);
Tailwind
colors: {
  custom: {
    50: '#caa6e9',
    500: '#b281df',
    950: '#000000',
  },
}
SCSS
$custom: #b281df;
$custom-light: #caa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b281df",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 271.277,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68794,
    "c": 0.14256,
    "h": 307
  },
  "luminance": 0.30493
}

Semantic roles & 50–950 ramp

primary
#B281DF
secondary
#DDECD0
accent
#C71E6F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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