#B281CF#B281CF

#B281CF is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.0% C 0.123 H 312.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B281CF
RGBrgb(178, 129, 207)
HSLhsl(278, 45%, 66%)
HSVhsv(278, 38%, 81%)
CMYKcmyk(14%, 37.7%, 0%, 18.8%)
CIE-LABlab(61.37, 33.14, -33.06)
CIE-LCHlch(61.37, 46.81, 315.07°)
OKLaboklab(68.03% 0.0827 -0.0912)
OKLCHoklch(68.03% 0.123 312.2)
XYZxyz(37.4709, 29.6711, 62.7725)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281CF #9ECF81
analogous
#8B81CF #B281CF #CF81C5
triadic
#B281CF #CFB281 #81CFB2
tetradic
#B281CF #CF8B81 #9ECF81 #81C5CF
square
#B281CF #CF8B81 #9ECF81 #81C5CF
split-complementary
#B281CF #C5CF81 #81CF8B
monochromatic
#773B9B #9755BE #B281CF #CDADE0 #E8DAF1

Accessibility & contrast

On white

3.03
#B281CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#B281CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B281CF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281CF#FFFFFF#000000##000000
##B281CF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D2
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#AF8C9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b281cf;
/* rgb */ color: rgb(178, 129, 207);
/* oklch */ color: oklch(68.0% 0.123 312.2);
Tailwind
colors: {
  custom: {
    50: '#caa6de',
    500: '#b281cf',
    950: '#000000',
  },
}
SCSS
$custom: #b281cf;
$custom-light: #caa6de;
$custom-dark: #000000;
JSON
{
  "hex": "#b281cf",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 277.692,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.12313,
    "h": 312.2
  },
  "luminance": 0.2967
}

Semantic roles & 50–950 ramp

primary
#B281CF
secondary
#D3E3C9
accent
#B82E61
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B281CF

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

Preview Lab → · Contrast checker → · Palette generator →

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