#CF8ECD#CF8ECD

#CF8ECD is a light, moderate purple. Relative luminance 0.370; OKLCH L 73.2% C 0.114 H 327.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CF8ECD
RGBrgb(207, 142, 205)
HSLhsl(302, 40%, 68%)
HSVhsv(302, 31%, 81%)
CMYKcmyk(0%, 31.4%, 1%, 18.8%)
CIE-LABlab(67.29, 34.74, -22.56)
CIE-LCHlch(67.29, 41.43, 327.00°)
OKLaboklab(73.18% 0.0966 -0.061)
OKLCHoklch(73.18% 0.114 327.7)
XYZxyz(46.4236, 37.0209, 62.4461)
Luminance0.3702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8ECD #8ECF90
analogous
#B08ECF #CF8ECD #CF8EAC
triadic
#CF8ECD #CDCF8E #8ECDCF
tetradic
#CF8ECD #CFB08E #8ECF90 #8EACCF
square
#CF8ECD #CFB08E #8ECF90 #8EACCF
split-complementary
#CF8ECD #ACCF8E #8ECFB0
monochromatic
#9F449C #BD63BA #CF8ECD #E1B9E0 #F3E4F3

Accessibility & contrast

On white

2.50
#CF8ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#CF8ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8ECD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8ECD#FFFFFF#000000##000000
##CF8ECD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FCF
Deuteranopia (green-blind)
#9AA7CB
Tritanopia (blue-blind)
#D393A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8ecd;
/* rgb */ color: rgb(207, 142, 205);
/* oklch */ color: oklch(73.2% 0.114 327.7);
Tailwind
colors: {
  custom: {
    50: '#deb0dc',
    500: '#cf8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ecd;
$custom-light: #deb0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ecd",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 301.846,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.11427,
    "h": 327.7
  },
  "luminance": 0.37019
}

Semantic roles & 50–950 ramp

primary
#CF8ECD
secondary
#D3E6D3
accent
#B33632
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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