#CF7ECC#CF7ECC

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

Color values

HEX#CF7ECC
RGBrgb(207, 126, 204)
HSLhsl(302, 46%, 65%)
HSVhsv(302, 39%, 81%)
CMYKcmyk(0%, 39.1%, 1.4%, 18.8%)
CIE-LABlab(63.79, 43.12, -27.37)
CIE-LCHlch(63.79, 51.07, 327.60°)
OKLaboklab(70.53% 0.1204 -0.0744)
OKLCHoklch(70.53% 0.142 328.3)
XYZxyz(44.0913, 32.5488, 61.0751)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7ECC #7ECF81
analogous
#A97ECF #CF7ECC #CF7EA3
triadic
#CF7ECC #CCCF7E #7ECCCF
tetradic
#CF7ECC #CFA97E #7ECF81 #7EA3CF
square
#CF7ECC #CFA97E #7ECF81 #7EA3CF
split-complementary
#CF7ECC #A3CF7E #7ECFA9
monochromatic
#993996 #BE51BA #CF7ECC #E0ABDE #F0D7EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7ECC#FFFFFF#000000##000000
##CF7ECC1.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)
#7994CF
Deuteranopia (green-blind)
#8E9EC9
Tritanopia (blue-blind)
#D4859C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7ecc;
/* rgb */ color: rgb(207, 126, 204);
/* oklch */ color: oklch(70.5% 0.142 328.3);
Tailwind
colors: {
  custom: {
    50: '#dfa5db',
    500: '#cf7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ecc;
$custom-light: #dfa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ecc",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 302.222,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.14152,
    "h": 328.3
  },
  "luminance": 0.32547
}

Semantic roles & 50–950 ramp

primary
#CF7ECC
secondary
#C7E2C8
accent
#B9322D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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