#CF81ED#CF81ED

#CF81ED is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.170 H 316.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CF81ED
RGBrgb(207, 129, 237)
HSLhsl(283, 75%, 72%)
HSVhsv(283, 46%, 93%)
CMYKcmyk(12.7%, 45.6%, 0%, 7.1%)
CIE-LABlab(65.81, 47.91, -42.59)
CIE-LCHlch(65.81, 64.11, 318.36°)
OKLaboklab(72.5% 0.1224 -0.118)
OKLCHoklch(72.5% 0.17 316)
XYZxyz(48.8661, 35.0817, 84.3016)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81ED #9FED81
analogous
#9981ED #CF81ED #ED81D5
triadic
#CF81ED #EDCF81 #81EDCF
tetradic
#CF81ED #ED9981 #9FED81 #81D5ED
square
#CF81ED #ED9981 #9FED81 #81D5ED
split-complementary
#CF81ED #D5ED81 #81ED99
monochromatic
#A21ED5 #BB4BE5 #CF81ED #E3B7F5 #F5E4FB

Accessibility & contrast

On white

2.62
#CF81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CF81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81ED
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81ED#FFFFFF#000000##000000
##CF81ED1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#CE90AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf81ed;
/* rgb */ color: rgb(207, 129, 237);
/* oklch */ color: oklch(72.5% 0.170 316.0);
Tailwind
colors: {
  custom: {
    50: '#dfa7f3',
    500: '#cf81ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf81ed;
$custom-light: #dfa7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81ed",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 283.333,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72497,
    "c": 0.17002,
    "h": 316
  },
  "luminance": 0.3508
}

Semantic roles & 50–950 ramp

primary
#CF81ED
secondary
#DFF3D7
accent
#D70E46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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