#CF7CD4#CF7CD4

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

Color values

HEX#CF7CD4
RGBrgb(207, 124, 212)
HSLhsl(297, 51%, 66%)
HSVhsv(297, 42%, 83%)
CMYKcmyk(2.4%, 41.5%, 0%, 16.9%)
CIE-LABlab(63.70, 45.64, -31.99)
CIE-LCHlch(63.70, 55.74, 324.97°)
OKLaboklab(70.57% 0.125 -0.0876)
OKLCHoklch(70.57% 0.153 325)
XYZxyz(44.8224, 32.4361, 66.1744)
Luminance0.3243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD4 #81D47C
analogous
#A37CD4 #CF7CD4 #D47CAD
triadic
#CF7CD4 #D4CF7C #7CD4CF
tetradic
#CF7CD4 #D4A37C #81D47C #7CADD4
square
#CF7CD4 #D4A37C #81D47C #7CADD4
split-complementary
#CF7CD4 #ADD47C #7CD4A3
monochromatic
#9B35A1 #BE4EC5 #CF7CD4 #E0AAE3 #F1D8F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7CD4#FFFFFF#000000##000000
##CF7CD41.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)
#7394D7
Deuteranopia (green-blind)
#8A9ED1
Tritanopia (blue-blind)
#D3859E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7cd4;
/* rgb */ color: rgb(207, 124, 212);
/* oklch */ color: oklch(70.6% 0.153 325.0);
Tailwind
colors: {
  custom: {
    50: '#dfa4e1',
    500: '#cf7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd4;
$custom-light: #dfa4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd4",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 296.591,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70565,
    "c": 0.15265,
    "h": 325
  },
  "luminance": 0.32434
}

Semantic roles & 50–950 ramp

primary
#CF7CD4
secondary
#C9E4C7
accent
#BE2830
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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