#CB81BF#CB81BF

#CB81BF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.0% C 0.121 H 332.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CB81BF
RGBrgb(203, 129, 191)
HSLhsl(310, 42%, 65%)
HSVhsv(310, 36%, 80%)
CMYKcmyk(0%, 36.5%, 5.9%, 20.4%)
CIE-LABlab(63.48, 37.92, -20.58)
CIE-LCHlch(63.48, 43.14, 331.51°)
OKLaboklab(70.02% 0.108 -0.0554)
OKLCHoklch(70.02% 0.121 332.8)
XYZxyz(41.8824, 32.1606, 53.2816)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81BF #81CB8D
analogous
#B281CB #CB81BF #CB819A
triadic
#CB81BF #BFCB81 #81BFCB
tetradic
#CB81BF #CBB281 #81CB8D #819ACB
square
#CB81BF #CBB281 #81CB8D #819ACB
split-complementary
#CB81BF #9ACB81 #81CBB2
monochromatic
#943D86 #B956A9 #CB81BF #DDACD5 #EFD8EB

Accessibility & contrast

On white

2.83
#CB81BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CB81BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81BF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81BF#FFFFFF#000000##000000
##CB81BF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C1
Deuteranopia (green-blind)
#929EBD
Tritanopia (blue-blind)
#D18598
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb81bf;
/* rgb */ color: rgb(203, 129, 191);
/* oklch */ color: oklch(70.0% 0.121 332.8);
Tailwind
colors: {
  custom: {
    50: '#dca7d2',
    500: '#cb81bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb81bf;
$custom-light: #dca7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81bf",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 309.73,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.12136,
    "h": 332.8
  },
  "luminance": 0.32159
}

Semantic roles & 50–950 ramp

primary
#CB81BF
secondary
#C7E0CB
accent
#B54631
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CB81BF

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

Preview Lab → · Contrast checker → · Palette generator →

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