#CF7CD7#CF7CD7

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

Color values

HEX#CF7CD7
RGBrgb(207, 124, 215)
HSLhsl(295, 53%, 66%)
HSVhsv(295, 42%, 84%)
CMYKcmyk(3.7%, 42.3%, 0%, 15.7%)
CIE-LABlab(63.83, 46.21, -33.48)
CIE-LCHlch(63.83, 57.06, 324.08°)
OKLaboklab(70.7% 0.1256 -0.0918)
OKLCHoklch(70.7% 0.156 323.8)
XYZxyz(45.2043, 32.5889, 68.1859)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD7 #84D77C
analogous
#A27CD7 #CF7CD7 #D77CB2
triadic
#CF7CD7 #D7CF7C #7CD7CF
tetradic
#CF7CD7 #D7A27C #84D77C #7CB2D7
square
#CF7CD7 #D7A27C #84D77C #7CB2D7
split-complementary
#CF7CD7 #B2D77C #7CD7A2
monochromatic
#9C33A6 #BE4DC9 #CF7CD7 #E0ABE5 #F1DAF4

Accessibility & contrast

On white

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

On black

7.52
#CF7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CD7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CD7#FFFFFF#000000##000000
##CF7CD71.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294DA
Deuteranopia (green-blind)
#889ED4
Tritanopia (blue-blind)
#D2869F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7cd7;
/* rgb */ color: rgb(207, 124, 215);
/* oklch */ color: oklch(70.7% 0.156 323.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4e3',
    500: '#cf7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd7;
$custom-light: #dfa4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd7",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 294.725,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.1556,
    "h": 323.8
  },
  "luminance": 0.32587
}

Semantic roles & 50–950 ramp

primary
#CF7CD7
secondary
#CBE6C9
accent
#C12533
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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