#CF7CD2#CF7CD2

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

Color values

HEX#CF7CD2
RGBrgb(207, 124, 210)
HSLhsl(298, 49%, 65%)
HSVhsv(298, 41%, 82%)
CMYKcmyk(1.4%, 41%, 0%, 17.6%)
CIE-LABlab(63.62, 45.27, -31.00)
CIE-LCHlch(63.62, 54.87, 325.60°)
OKLaboklab(70.48% 0.1246 -0.0847)
OKLCHoklch(70.48% 0.151 325.8)
XYZxyz(44.5716, 32.3358, 64.8539)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD2 #7FD27C
analogous
#A47CD2 #CF7CD2 #D27CAA
triadic
#CF7CD2 #D2CF7C #7CD2CF
tetradic
#CF7CD2 #D2A47C #7FD27C #7CAAD2
square
#CF7CD2 #D2A47C #7FD27C #7CAAD2
split-complementary
#CF7CD2 #AAD27C #7CD2A4
monochromatic
#9A369D #BE4EC2 #CF7CD2 #E0AAE2 #F0D7F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7CD2#FFFFFF#000000##000000
##CF7CD21.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)
#7493D5
Deuteranopia (green-blind)
#8A9ECF
Tritanopia (blue-blind)
#D3859D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7cd2;
/* rgb */ color: rgb(207, 124, 210);
/* oklch */ color: oklch(70.5% 0.151 325.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4e0',
    500: '#cf7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd2;
$custom-light: #dfa4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd2",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 297.907,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.1507,
    "h": 325.8
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

primary
#CF7CD2
secondary
#C8E3C6
accent
#BC292E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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