#B781DF#B781DF

#B781DF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.144 H 309.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B781DF
RGBrgb(183, 129, 223)
HSLhsl(274, 59%, 69%)
HSVhsv(274, 42%, 87%)
CMYKcmyk(17.9%, 42.2%, 0%, 12.5%)
CIE-LABlab(62.59, 38.11, -40.07)
CIE-LCHlch(62.59, 55.30, 313.56°)
OKLaboklab(69.3% 0.0918 -0.1113)
OKLCHoklch(69.3% 0.144 309.5)
XYZxyz(40.6955, 31.0961, 73.6560)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781DF #A9DF81
analogous
#8881DF #B781DF #DF81D8
triadic
#B781DF #DFB781 #81DFB7
tetradic
#B781DF #DF8881 #A9DF81 #81D8DF
square
#B781DF #DF8881 #A9DF81 #81D8DF
split-complementary
#B781DF #D8DF81 #81DF88
monochromatic
#7D2FB7 #9B50D3 #B781DF #D3B2EB #EFE3F8

Accessibility & contrast

On white

2.91
#B781DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B781DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781DF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781DF#FFFFFF#000000##000000
##B781DF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E2
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#B28FA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b781df;
/* rgb */ color: rgb(183, 129, 223);
/* oklch */ color: oklch(69.3% 0.144 309.5);
Tailwind
colors: {
  custom: {
    50: '#cea6e9',
    500: '#b781df',
    950: '#000000',
  },
}
SCSS
$custom: #b781df;
$custom-light: #cea6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b781df",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 274.468,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.14426,
    "h": 309.5
  },
  "luminance": 0.31096
}

Semantic roles & 50–950 ramp

primary
#B781DF
secondary
#DCECD0
accent
#C71E66
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B781DF

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

Preview Lab → · Contrast checker → · Palette generator →

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