#CF8FCC#CF8FCC

#CF8FCC is a light, moderate purple. Relative luminance 0.373; OKLCH L 73.3% C 0.112 H 328.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CF8FCC
RGBrgb(207, 143, 204)
HSLhsl(303, 40%, 69%)
HSVhsv(303, 31%, 81%)
CMYKcmyk(0%, 30.9%, 1.4%, 18.8%)
CIE-LABlab(67.48, 34.02, -21.72)
CIE-LCHlch(67.48, 40.36, 327.45°)
OKLaboklab(73.31% 0.0948 -0.0587)
OKLCHoklch(73.31% 0.112 328.2)
XYZxyz(46.4528, 37.2717, 61.8623)
Luminance0.3727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FCC #8FCF92
analogous
#B28FCF #CF8FCC #CF8FAC
triadic
#CF8FCC #CCCF8F #8FCCCF
tetradic
#CF8FCC #CFB28F #8FCF92 #8FACCF
square
#CF8FCC #CFB28F #8FCF92 #8FACCF
split-complementary
#CF8FCC #ACCF8F #8FCFB2
monochromatic
#9F449B #BD64B8 #CF8FCC #E1BAE0 #F4E5F3

Accessibility & contrast

On white

2.48
#CF8FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#CF8FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FCC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FCC#FFFFFF#000000##000000
##CF8FCC1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCE
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#D394A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8fcc;
/* rgb */ color: rgb(207, 143, 204);
/* oklch */ color: oklch(73.3% 0.112 328.2);
Tailwind
colors: {
  custom: {
    50: '#deb0db',
    500: '#cf8fcc',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fcc;
$custom-light: #deb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fcc",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 302.813,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73313,
    "c": 0.11151,
    "h": 328.2
  },
  "luminance": 0.3727
}

Semantic roles & 50–950 ramp

primary
#CF8FCC
secondary
#D3E6D4
accent
#B33932
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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