#CB81EF#CB81EF

#CB81EF is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.2% C 0.170 H 313.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CB81EF
RGBrgb(203, 129, 239)
HSLhsl(280, 77%, 72%)
HSVhsv(280, 46%, 94%)
CMYKcmyk(15.1%, 46%, 0%, 6.3%)
CIE-LABlab(65.46, 47.21, -44.28)
CIE-LCHlch(65.46, 64.73, 316.83°)
OKLaboklab(72.17% 0.118 -0.123)
OKLCHoklch(72.17% 0.17 313.8)
XYZxyz(48.0563, 34.6302, 85.7974)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81EF #A5EF81
analogous
#9481EF #CB81EF #EF81DC
triadic
#CB81EF #EFCB81 #81EFCB
tetradic
#CB81EF #EF9481 #A5EF81 #81DCEF
square
#CB81EF #EF9481 #A5EF81 #81DCEF
split-complementary
#CB81EF #DCEF81 #81EF94
monochromatic
#9C1CDA #B54BE8 #CB81EF #E1B7F6 #F4E4FC

Accessibility & contrast

On white

2.65
#CB81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CB81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81EF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81EF#FFFFFF#000000##000000
##CB81EF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#C891AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb81ef;
/* rgb */ color: rgb(203, 129, 239);
/* oklch */ color: oklch(72.2% 0.170 313.8);
Tailwind
colors: {
  custom: {
    50: '#dda7f4',
    500: '#cb81ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb81ef;
$custom-light: #dda7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81ef",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 280.364,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72165,
    "c": 0.17044,
    "h": 313.8
  },
  "luminance": 0.34629
}

Semantic roles & 50–950 ramp

primary
#CB81EF
secondary
#E1F3D8
accent
#DA0C4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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