#CF8DCD#CF8DCD

#CF8DCD is a light, moderate purple. Relative luminance 0.367; OKLCH L 73.0% C 0.116 H 327.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CF8DCD
RGBrgb(207, 141, 205)
HSLhsl(302, 41%, 68%)
HSVhsv(302, 32%, 81%)
CMYKcmyk(0%, 31.9%, 1%, 18.8%)
CIE-LABlab(67.07, 35.29, -22.90)
CIE-LCHlch(67.07, 42.06, 327.02°)
OKLaboklab(73.01% 0.0981 -0.062)
OKLCHoklch(73.01% 0.116 327.7)
XYZxyz(46.2755, 36.7247, 62.3967)
Luminance0.3672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DCD #8DCF8F
analogous
#B08DCF #CF8DCD #CF8DAC
triadic
#CF8DCD #CDCF8D #8DCDCF
tetradic
#CF8DCD #CFB08D #8DCF8F #8DACCF
square
#CF8DCD #CFB08D #8DCF8F #8DACCF
split-complementary
#CF8DCD #ACCF8D #8DCFB0
monochromatic
#9F439C #BD62BA #CF8DCD #E1B8E0 #F3E3F3

Accessibility & contrast

On white

2.52
#CF8DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CF8DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DCD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DCD#FFFFFF#000000##000000
##CF8DCD1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#99A6CB
Tritanopia (blue-blind)
#D392A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8dcd;
/* rgb */ color: rgb(207, 141, 205);
/* oklch */ color: oklch(73.0% 0.116 327.7);
Tailwind
colors: {
  custom: {
    50: '#deafdc',
    500: '#cf8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dcd;
$custom-light: #deafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dcd",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 301.818,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73014,
    "c": 0.11605,
    "h": 327.7
  },
  "luminance": 0.36723
}

Semantic roles & 50–950 ramp

primary
#CF8DCD
secondary
#D2E6D2
accent
#B43632
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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