#CF8CDC#CF8CDC

#CF8CDC is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.5% C 0.133 H 320.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CF8CDC
RGBrgb(207, 140, 220)
HSLhsl(290, 53%, 71%)
HSVhsv(290, 36%, 86%)
CMYKcmyk(5.9%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.42, 38.68, -30.69)
CIE-LCHlch(67.42, 49.38, 321.57°)
OKLaboklab(73.47% 0.1034 -0.084)
OKLCHoklch(73.47% 0.133 320.9)
XYZxyz(48.0269, 37.1904, 72.3448)
Luminance0.3719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CDC #99DC8C
analogous
#A78CDC #CF8CDC #DC8CC1
triadic
#CF8CDC #DCCF8C #8CDCCF
tetradic
#CF8CDC #DCA78C #99DC8C #8CC1DC
square
#CF8CDC #DCA78C #99DC8C #8CC1DC
split-complementary
#CF8CDC #C1DC8C #8CDCA7
monochromatic
#A237B6 #BB5DCE #CF8CDC #E3BBEA #F5E8F8

Accessibility & contrast

On white

2.49
#CF8CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CF8CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CDC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CDC#FFFFFF#000000##000000
##CF8CDC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDF
Deuteranopia (green-blind)
#93A7D9
Tritanopia (blue-blind)
#D195AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8cdc;
/* rgb */ color: rgb(207, 140, 220);
/* oklch */ color: oklch(73.5% 0.133 320.9);
Tailwind
colors: {
  custom: {
    50: '#dfafe7',
    500: '#cf8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cdc;
$custom-light: #dfafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cdc",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 290.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73466,
    "c": 0.13321,
    "h": 320.9
  },
  "luminance": 0.37189
}

Semantic roles & 50–950 ramp

primary
#CF8CDC
secondary
#DBEDD7
accent
#C1253E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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