#CF7CD6#CF7CD6

#CF7CD6 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.155 H 324.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CF7CD6
RGBrgb(207, 124, 214)
HSLhsl(295, 52%, 66%)
HSVhsv(295, 42%, 84%)
CMYKcmyk(3.3%, 42.1%, 0%, 16.1%)
CIE-LABlab(63.78, 46.02, -32.98)
CIE-LCHlch(63.78, 56.62, 324.37°)
OKLaboklab(70.65% 0.1254 -0.0904)
OKLCHoklch(70.65% 0.155 324.2)
XYZxyz(45.0762, 32.5376, 67.5113)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD6 #83D67C
analogous
#A27CD6 #CF7CD6 #D67CB0
triadic
#CF7CD6 #D6CF7C #7CD6CF
tetradic
#CF7CD6 #D6A27C #83D67C #7CB0D6
square
#CF7CD6 #D6A27C #83D67C #7CB0D6
split-complementary
#CF7CD6 #B0D67C #7CD6A2
monochromatic
#9B33A4 #BE4DC7 #CF7CD6 #E0ABE5 #F1D9F3

Accessibility & contrast

On white

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

On black

7.51
#CF7CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CD6
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CD6#FFFFFF#000000##000000
##CF7CD61.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D9
Deuteranopia (green-blind)
#899ED3
Tritanopia (blue-blind)
#D2869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7cd6;
/* rgb */ color: rgb(207, 124, 214);
/* oklch */ color: oklch(70.7% 0.155 324.2);
Tailwind
colors: {
  custom: {
    50: '#dfa4e3',
    500: '#cf7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd6;
$custom-light: #dfa4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd6",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 295.333,
    "s": 52.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70654,
    "c": 0.15461,
    "h": 324.2
  },
  "luminance": 0.32536
}

Semantic roles & 50–950 ramp

primary
#CF7CD6
secondary
#CAE6C8
accent
#C02632
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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