#CF7CD8#CF7CD8

#CF7CD8 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.157 H 323.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CF7CD8
RGBrgb(207, 124, 216)
HSLhsl(294, 54%, 67%)
HSVhsv(294, 43%, 85%)
CMYKcmyk(4.2%, 42.6%, 0%, 15.3%)
CIE-LABlab(63.87, 46.40, -33.97)
CIE-LCHlch(63.87, 57.50, 323.79°)
OKLaboklab(70.74% 0.1258 -0.0932)
OKLCHoklch(70.74% 0.157 323.5)
XYZxyz(45.3332, 32.6404, 68.8647)
Luminance0.3264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD8 #85D87C
analogous
#A17CD8 #CF7CD8 #D87CB3
triadic
#CF7CD8 #D8CF7C #7CD8CF
tetradic
#CF7CD8 #D8A17C #85D87C #7CB3D8
square
#CF7CD8 #D8A17C #85D87C #7CB3D8
split-complementary
#CF7CD8 #B3D87C #7CD8A1
monochromatic
#9C32A8 #BE4DCA #CF7CD8 #E0ABE6 #F2DAF4

Accessibility & contrast

On white

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

On black

7.53
#CF7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CD8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CD8#FFFFFF#000000##000000
##CF7CD81.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DB
Deuteranopia (green-blind)
#889ED5
Tritanopia (blue-blind)
#D286A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7cd8;
/* rgb */ color: rgb(207, 124, 216);
/* oklch */ color: oklch(70.7% 0.157 323.5);
Tailwind
colors: {
  custom: {
    50: '#dfa4e4',
    500: '#cf7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd8;
$custom-light: #dfa4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd8",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 294.13,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70744,
    "c": 0.15659,
    "h": 323.5
  },
  "luminance": 0.32639
}

Semantic roles & 50–950 ramp

primary
#CF7CD8
secondary
#CCE7C9
accent
#C22433
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CF7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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