#CF7DCF#CF7DCF

#CF7DCF is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.146 H 327.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CF7DCF
RGBrgb(207, 125, 207)
HSLhsl(300, 46%, 65%)
HSVhsv(300, 40%, 81%)
CMYKcmyk(0%, 39.6%, 0%, 18.8%)
CIE-LABlab(63.70, 44.19, -29.19)
CIE-LCHlch(63.70, 52.96, 326.56°)
OKLaboklab(70.5% 0.1225 -0.0796)
OKLCHoklch(70.5% 0.146 327)
XYZxyz(44.3274, 32.4396, 62.9459)
Luminance0.3244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DCF #7DCF7D
analogous
#A67DCF #CF7DCF #CF7DA6
triadic
#CF7DCF #CFCF7D #7DCFCF
tetradic
#CF7DCF #CFA67D #7DCF7D #7DA6CF
square
#CF7DCF #CFA67D #7DCF7D #7DA6CF
split-complementary
#CF7DCF #A6CF7D #7DCFA6
monochromatic
#993999 #BE50BE #CF7DCF #E0AAE0 #F0D6F0

Accessibility & contrast

On white

2.80
#CF7DCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CF7DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DCF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DCF#FFFFFF#000000##000000
##CF7DCF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#8C9ECC
Tritanopia (blue-blind)
#D4859C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7dcf;
/* rgb */ color: rgb(207, 125, 207);
/* oklch */ color: oklch(70.5% 0.146 327.0);
Tailwind
colors: {
  custom: {
    50: '#dfa4de',
    500: '#cf7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dcf;
$custom-light: #dfa4de;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dcf",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.705,
    "c": 0.1461,
    "h": 327
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#CF7DCF
secondary
#C6E2C6
accent
#B92C2C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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