#CF7CDC#CF7CDC

#CF7CDC is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.161 H 322.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CF7CDC
RGBrgb(207, 124, 220)
HSLhsl(292, 58%, 67%)
HSVhsv(292, 44%, 86%)
CMYKcmyk(5.9%, 43.6%, 0%, 13.7%)
CIE-LABlab(64.04, 47.16, -35.94)
CIE-LCHlch(64.04, 59.29, 322.69°)
OKLaboklab(70.93% 0.1266 -0.0988)
OKLCHoklch(70.93% 0.161 322)
XYZxyz(45.8566, 32.8498, 71.6214)
Luminance0.3285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CDC #89DC7C
analogous
#9F7CDC #CF7CDC #DC7CB9
triadic
#CF7CDC #DCCF7C #7CDCCF
tetradic
#CF7CDC #DC9F7C #89DC7C #7CB9DC
square
#CF7CDC #DC9F7C #89DC7C #7CB9DC
split-complementary
#CF7CDC #B9DC7C #7CDC9F
monochromatic
#9E2FAF #BD4CCF #CF7CDC #E1ACE9 #F2DDF6

Accessibility & contrast

On white

2.77
#CF7CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CF7CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CDC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CDC#FFFFFF#000000##000000
##CF7CDC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#D188A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7cdc;
/* rgb */ color: rgb(207, 124, 220);
/* oklch */ color: oklch(70.9% 0.161 322.0);
Tailwind
colors: {
  custom: {
    50: '#dfa4e7',
    500: '#cf7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cdc;
$custom-light: #dfa4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cdc",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 291.875,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70928,
    "c": 0.1606,
    "h": 322
  },
  "luminance": 0.32848
}

Semantic roles & 50–950 ramp

primary
#CF7CDC
secondary
#CFE9CB
accent
#C52036
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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