#CB81ED#CB81ED

#CB81ED is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.1% C 0.168 H 314.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CB81ED
RGBrgb(203, 129, 237)
HSLhsl(281, 75%, 72%)
HSVhsv(281, 46%, 93%)
CMYKcmyk(14.3%, 45.6%, 0%, 7.1%)
CIE-LABlab(65.37, 46.79, -43.32)
CIE-LCHlch(65.37, 63.77, 317.21°)
OKLaboklab(72.07% 0.1177 -0.1202)
OKLCHoklch(72.07% 0.168 314.4)
XYZxyz(47.7625, 34.5126, 84.2499)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81ED #A3ED81
analogous
#9581ED #CB81ED #ED81D9
triadic
#CB81ED #EDCB81 #81EDCB
tetradic
#CB81ED #ED9581 #A3ED81 #81D9ED
square
#CB81ED #ED9581 #A3ED81 #81D9ED
split-complementary
#CB81ED #D9ED81 #81ED95
monochromatic
#9C1ED5 #B54BE5 #CB81ED #E1B7F5 #F4E4FB

Accessibility & contrast

On white

2.66
#CB81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CB81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81ED
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81ED#FFFFFF#000000##000000
##CB81ED1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#C991AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb81ed;
/* rgb */ color: rgb(203, 129, 237);
/* oklch */ color: oklch(72.1% 0.168 314.4);
Tailwind
colors: {
  custom: {
    50: '#dda7f3',
    500: '#cb81ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb81ed;
$custom-light: #dda7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81ed",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 281.111,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.16825,
    "h": 314.4
  },
  "luminance": 0.34511
}

Semantic roles & 50–950 ramp

primary
#CB81ED
secondary
#E0F3D7
accent
#D70E4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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