#CF7DD2#CF7DD2

#CF7DD2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.149 H 325.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CF7DD2
RGBrgb(207, 125, 210)
HSLhsl(298, 49%, 66%)
HSVhsv(298, 40%, 82%)
CMYKcmyk(1.4%, 40.5%, 0%, 17.6%)
CIE-LABlab(63.83, 44.75, -30.68)
CIE-LCHlch(63.83, 54.26, 325.56°)
OKLaboklab(70.63% 0.1232 -0.0838)
OKLCHoklch(70.63% 0.149 325.8)
XYZxyz(44.6976, 32.5877, 64.8959)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DD2 #80D27D
analogous
#A47DD2 #CF7DD2 #D27DAA
triadic
#CF7DD2 #D2CF7D #7DD2CF
tetradic
#CF7DD2 #D2A47D #80D27D #7DAAD2
square
#CF7DD2 #D2A47D #80D27D #7DAAD2
split-complementary
#CF7DD2 #AAD27D #7DD2A4
monochromatic
#9A379E #BE50C2 #CF7DD2 #E0AAE2 #F1D8F1

Accessibility & contrast

On white

2.79
#CF7DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CF7DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DD2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DD2#FFFFFF#000000##000000
##CF7DD21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#D3869E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7dd2;
/* rgb */ color: rgb(207, 125, 210);
/* oklch */ color: oklch(70.6% 0.149 325.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4e0',
    500: '#cf7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dd2;
$custom-light: #dfa4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dd2",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 297.882,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70631,
    "c": 0.14899,
    "h": 325.8
  },
  "luminance": 0.32586
}

Semantic roles & 50–950 ramp

primary
#CF7DD2
secondary
#C8E4C7
accent
#BC2A2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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