#CF81CA#CF81CA

#CF81CA is a light, vivid purple. Relative luminance 0.332; OKLCH L 70.9% C 0.134 H 329.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CF81CA
RGBrgb(207, 129, 202)
HSLhsl(304, 45%, 66%)
HSVhsv(304, 38%, 81%)
CMYKcmyk(0%, 37.7%, 2.4%, 18.8%)
CIE-LABlab(64.35, 41.17, -25.39)
CIE-LCHlch(64.35, 48.37, 328.34°)
OKLaboklab(70.92% 0.1154 -0.0689)
OKLCHoklch(70.92% 0.134 329.2)
XYZxyz(44.2424, 33.2322, 59.9497)
Luminance0.3323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81CA #81CF86
analogous
#AD81CF #CF81CA #CF81A3
triadic
#CF81CA #CACF81 #81CACF
tetradic
#CF81CA #CFAD81 #81CF86 #81A3CF
square
#CF81CA #CFAD81 #81CF86 #81A3CF
split-complementary
#CF81CA #A3CF81 #81CFAD
monochromatic
#9B3B95 #BE55B7 #CF81CA #E0ADDD #F1DAEF

Accessibility & contrast

On white

2.75
#CF81CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CF81CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81CA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81CA#FFFFFF#000000##000000
##CF81CA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CD
Deuteranopia (green-blind)
#91A0C7
Tritanopia (blue-blind)
#D4879C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf81ca;
/* rgb */ color: rgb(207, 129, 202);
/* oklch */ color: oklch(70.9% 0.134 329.2);
Tailwind
colors: {
  custom: {
    50: '#dfa7da',
    500: '#cf81ca',
    950: '#000000',
  },
}
SCSS
$custom: #cf81ca;
$custom-light: #dfa7da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81ca",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 303.846,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7092,
    "c": 0.1344,
    "h": 329.2
  },
  "luminance": 0.3323
}

Semantic roles & 50–950 ramp

primary
#CF81CA
secondary
#C9E3CB
accent
#B8362E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151015
muted
#837F83

Preview Lab

Preview with #CF81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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