#CF7CD3#CF7CD3

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

Color values

HEX#CF7CD3
RGBrgb(207, 124, 211)
HSLhsl(297, 50%, 66%)
HSVhsv(297, 41%, 83%)
CMYKcmyk(1.9%, 41.2%, 0%, 17.3%)
CIE-LABlab(63.66, 45.46, -31.50)
CIE-LCHlch(63.66, 55.30, 325.28°)
OKLaboklab(70.52% 0.1248 -0.0862)
OKLCHoklch(70.52% 0.152 325.4)
XYZxyz(44.6966, 32.3858, 65.5121)
Luminance0.3238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD3 #80D37C
analogous
#A37CD3 #CF7CD3 #D37CAB
triadic
#CF7CD3 #D3CF7C #7CD3CF
tetradic
#CF7CD3 #D3A37C #80D37C #7CABD3
square
#CF7CD3 #D3A37C #80D37C #7CABD3
split-complementary
#CF7CD3 #ABD37C #7CD3A3
monochromatic
#9A359F #BE4EC4 #CF7CD3 #E0AAE2 #F1D8F2

Accessibility & contrast

On white

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

On black

7.48
#CF7CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CD3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CD3#FFFFFF#000000##000000
##CF7CD31.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D6
Deuteranopia (green-blind)
#8A9ED0
Tritanopia (blue-blind)
#D3859E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7cd3;
/* rgb */ color: rgb(207, 124, 211);
/* oklch */ color: oklch(70.5% 0.152 325.4);
Tailwind
colors: {
  custom: {
    50: '#dfa4e0',
    500: '#cf7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd3;
$custom-light: #dfa4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd3",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 297.241,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.7052,
    "c": 0.15168,
    "h": 325.4
  },
  "luminance": 0.32384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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