#B781CD#B781CD

#B781CD is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.4% C 0.123 H 315.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B781CD
RGBrgb(183, 129, 205)
HSLhsl(283, 43%, 65%)
HSVhsv(283, 37%, 80%)
CMYKcmyk(10.7%, 37.1%, 0%, 19.6%)
CIE-LABlab(61.81, 34.25, -31.22)
CIE-LCHlch(61.81, 46.34, 317.65°)
OKLaboklab(68.45% 0.0882 -0.0858)
OKLCHoklch(68.45% 0.123 315.8)
XYZxyz(38.3965, 30.1764, 61.5477)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781CD #97CD81
analogous
#9181CD #B781CD #CD81BD
triadic
#B781CD #CDB781 #81CDB7
tetradic
#B781CD #CD9181 #97CD81 #81BDCD
square
#B781CD #CD9181 #97CD81 #81BDCD
split-complementary
#B781CD #BDCD81 #81CD91
monochromatic
#7D3C97 #9E55BC #B781CD #D0ADDE #E9D9F0

Accessibility & contrast

On white

2.98
#B781CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B781CD#FFFFFF#000000##000000
##B781CD1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#B68B9E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b781cd;
/* rgb */ color: rgb(183, 129, 205);
/* oklch */ color: oklch(68.4% 0.123 315.8);
Tailwind
colors: {
  custom: {
    50: '#cda6dc',
    500: '#b781cd',
    950: '#000000',
  },
}
SCSS
$custom: #b781cd;
$custom-light: #cda6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b781cd",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 282.632,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.12306,
    "h": 315.8
  },
  "luminance": 0.30176
}

Semantic roles & 50–950 ramp

primary
#B781CD
secondary
#D0E2C8
accent
#B62F56
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B781CD

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

Preview Lab → · Contrast checker → · Palette generator →

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