#CF7DCD#CF7DCD

#CF7DCD is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.4% C 0.144 H 327.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CF7DCD
RGBrgb(207, 125, 205)
HSLhsl(301, 46%, 65%)
HSVhsv(301, 40%, 81%)
CMYKcmyk(0%, 39.6%, 1%, 18.8%)
CIE-LABlab(63.62, 43.83, -28.19)
CIE-LCHlch(63.62, 52.11, 327.25°)
OKLaboklab(70.41% 0.1221 -0.0768)
OKLCHoklch(70.41% 0.144 327.8)
XYZxyz(44.0844, 32.3424, 61.6664)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DCD #7DCF7F
analogous
#A87DCF #CF7DCD #CF7DA4
triadic
#CF7DCD #CDCF7D #7DCDCF
tetradic
#CF7DCD #CFA87D #7DCF7F #7DA4CF
square
#CF7DCD #CFA87D #7DCF7F #7DA4CF
split-complementary
#CF7DCD #A4CF7D #7DCFA8
monochromatic
#993997 #BE50BC #CF7DCD #E0AADE #F0D6EF

Accessibility & contrast

On white

2.81
#CF7DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CF7DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DCD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DCD#FFFFFF#000000##000000
##CF7DCD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#D4849C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7dcd;
/* rgb */ color: rgb(207, 125, 205);
/* oklch */ color: oklch(70.4% 0.144 327.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4dc',
    500: '#cf7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dcd;
$custom-light: #dfa4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dcd",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 301.463,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70414,
    "c": 0.1442,
    "h": 327.8
  },
  "luminance": 0.3234
}

Semantic roles & 50–950 ramp

primary
#CF7DCD
secondary
#C6E2C7
accent
#B9302C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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