#CF7DC6#CF7DC6

#CF7DC6 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.1% C 0.138 H 331.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CF7DC6
RGBrgb(207, 125, 198)
HSLhsl(307, 46%, 65%)
HSVhsv(307, 40%, 81%)
CMYKcmyk(0%, 39.6%, 4.3%, 18.8%)
CIE-LABlab(63.35, 42.57, -24.67)
CIE-LCHlch(63.35, 49.20, 329.90°)
OKLaboklab(70.12% 0.1204 -0.0668)
OKLCHoklch(70.12% 0.138 331)
XYZxyz(43.2583, 32.0120, 57.3155)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DC6 #7DCF86
analogous
#AF7DCF #CF7DC6 #CF7D9D
triadic
#CF7DC6 #C6CF7D #7DC6CF
tetradic
#CF7DC6 #CFAF7D #7DCF86 #7D9DCF
square
#CF7DC6 #CFAF7D #7DCF86 #7D9DCF
split-complementary
#CF7DC6 #9DCF7D #7DCFAF
monochromatic
#99398E #BE50B2 #CF7DC6 #E0AADA #F0D6ED

Accessibility & contrast

On white

2.84
#CF7DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CF7DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DC6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DC6#FFFFFF#000000##000000
##CF7DC61.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C9
Deuteranopia (green-blind)
#909DC3
Tritanopia (blue-blind)
#D58399
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf7dc6;
/* rgb */ color: rgb(207, 125, 198);
/* oklch */ color: oklch(70.1% 0.138 331.0);
Tailwind
colors: {
  custom: {
    50: '#dfa4d7',
    500: '#cf7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dc6;
$custom-light: #dfa4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dc6",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 306.585,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7012,
    "c": 0.1377,
    "h": 331
  },
  "luminance": 0.3201
}

Semantic roles & 50–950 ramp

primary
#CF7DC6
secondary
#C6E2C9
accent
#B93C2C
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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