#CF7CCC#CF7CCC

#CF7CCC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.145 H 328.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CF7CCC
RGBrgb(207, 124, 204)
HSLhsl(302, 46%, 65%)
HSVhsv(302, 40%, 81%)
CMYKcmyk(0%, 40.1%, 1.4%, 18.8%)
CIE-LABlab(63.38, 44.17, -28.01)
CIE-LCHlch(63.38, 52.30, 327.62°)
OKLaboklab(70.22% 0.1233 -0.0762)
OKLCHoklch(70.22% 0.145 328.3)
XYZxyz(43.8381, 32.0424, 60.9907)
Luminance0.3204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CCC #7CCF7F
analogous
#A97CCF #CF7CCC #CF7CA2
triadic
#CF7CCC #CCCF7C #7CCCCF
tetradic
#CF7CCC #CFA97C #7CCF7F #7CA2CF
square
#CF7CCC #CFA97C #7CCF7F #7CA2CF
split-complementary
#CF7CCC #A2CF7C #7CCFA9
monochromatic
#993895 #BF4FBB #CF7CCC #DFA9DD #F0D6EF

Accessibility & contrast

On white

2.83
#CF7CCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CF7CCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CCC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CCC#FFFFFF#000000##000000
##CF7CCC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#8D9DC9
Tritanopia (blue-blind)
#D4839B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf7ccc;
/* rgb */ color: rgb(207, 124, 204);
/* oklch */ color: oklch(70.2% 0.145 328.3);
Tailwind
colors: {
  custom: {
    50: '#dfa4db',
    500: '#cf7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ccc;
$custom-light: #dfa4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ccc",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 302.169,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70216,
    "c": 0.14498,
    "h": 328.3
  },
  "luminance": 0.3204
}

Semantic roles & 50–950 ramp

primary
#CF7CCC
secondary
#C5E2C6
accent
#BA312C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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