#CB81DA#CB81DA

#CB81DA is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.2% C 0.148 H 320.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CB81DA
RGBrgb(203, 129, 218)
HSLhsl(290, 55%, 68%)
HSVhsv(290, 41%, 85%)
CMYKcmyk(6.9%, 40.8%, 0%, 14.5%)
CIE-LABlab(64.53, 42.96, -34.09)
CIE-LCHlch(64.53, 54.84, 321.56°)
OKLaboklab(71.17% 0.1144 -0.0937)
OKLCHoklch(71.17% 0.148 320.7)
XYZxyz(45.1322, 33.4605, 70.3972)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81DA #90DA81
analogous
#9E81DA #CB81DA #DA81BC
triadic
#CB81DA #DACB81 #81DACB
tetradic
#CB81DA #DA9E81 #90DA81 #81BCDA
square
#CB81DA #DA9E81 #90DA81 #81BCDA
split-complementary
#CB81DA #BCDA81 #81DA9E
monochromatic
#9933AE #B752CC #CB81DA #DFB0E8 #F2E0F6

Accessibility & contrast

On white

2.73
#CB81DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CB81DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81DA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81DA#FFFFFF#000000##000000
##CB81DA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DD
Deuteranopia (green-blind)
#899FD7
Tritanopia (blue-blind)
#CD8CA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb81da;
/* rgb */ color: rgb(203, 129, 218);
/* oklch */ color: oklch(71.2% 0.148 320.7);
Tailwind
colors: {
  custom: {
    50: '#dca7e5',
    500: '#cb81da',
    950: '#000000',
  },
}
SCSS
$custom: #cb81da;
$custom-light: #dca7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81da",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 289.888,
    "s": 54.601,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71168,
    "c": 0.14784,
    "h": 320.7
  },
  "luminance": 0.33459
}

Semantic roles & 50–950 ramp

primary
#CB81DA
secondary
#D2E9CE
accent
#C2233E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB81DA

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

Preview Lab → · Contrast checker → · Palette generator →

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