#CF81CF#CF81CF

#CF81CF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.1% C 0.139 H 326.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CF81CF
RGBrgb(207, 129, 207)
HSLhsl(300, 45%, 66%)
HSVhsv(300, 38%, 81%)
CMYKcmyk(0%, 37.7%, 0%, 18.8%)
CIE-LABlab(64.54, 42.08, -27.90)
CIE-LCHlch(64.54, 50.49, 326.46°)
OKLaboklab(71.13% 0.1166 -0.076)
OKLCHoklch(71.13% 0.139 326.9)
XYZxyz(44.8440, 33.4728, 63.1181)
Luminance0.3347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81CF #81CF81
analogous
#A881CF #CF81CF #CF81A8
triadic
#CF81CF #CFCF81 #81CFCF
tetradic
#CF81CF #CFA881 #81CF81 #81A8CF
square
#CF81CF #CFA881 #81CF81 #81A8CF
split-complementary
#CF81CF #A8CF81 #81CFA8
monochromatic
#9B3B9B #BE55BE #CF81CF #E0ADE0 #F1DAF1

Accessibility & contrast

On white

2.73
#CF81CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CF81CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81CF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81CF#FFFFFF#000000##000000
##CF81CF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D2
Deuteranopia (green-blind)
#8FA0CC
Tritanopia (blue-blind)
#D4889F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf81cf;
/* rgb */ color: rgb(207, 129, 207);
/* oklch */ color: oklch(71.1% 0.139 326.9);
Tailwind
colors: {
  custom: {
    50: '#dfa7de',
    500: '#cf81cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf81cf;
$custom-light: #dfa7de;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81cf",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71129,
    "c": 0.13917,
    "h": 326.9
  },
  "luminance": 0.33471
}

Semantic roles & 50–950 ramp

primary
#CF81CF
secondary
#C9E3C9
accent
#B82E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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