#CF7ECA#CF7ECA

#CF7ECA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.4% C 0.140 H 329.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CF7ECA
RGBrgb(207, 126, 202)
HSLhsl(304, 46%, 65%)
HSVhsv(304, 39%, 81%)
CMYKcmyk(0%, 39.1%, 2.4%, 18.8%)
CIE-LABlab(63.72, 42.76, -26.36)
CIE-LCHlch(63.72, 50.23, 328.34°)
OKLaboklab(70.44% 0.1199 -0.0716)
OKLCHoklch(70.44% 0.14 329.1)
XYZxyz(43.8530, 32.4534, 59.8199)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7ECA #7ECF83
analogous
#AC7ECF #CF7ECA #CF7EA1
triadic
#CF7ECA #CACF7E #7ECACF
tetradic
#CF7ECA #CFAC7E #7ECF83 #7EA1CF
square
#CF7ECA #CFAC7E #7ECF83 #7EA1CF
split-complementary
#CF7ECA #A1CF7E #7ECFAC
monochromatic
#993994 #BE51B8 #CF7ECA #E0ABDC #F0D7EF

Accessibility & contrast

On white

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

On black

7.49
#CF7ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7ECA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7ECA#FFFFFF#000000##000000
##CF7ECA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#8F9EC7
Tritanopia (blue-blind)
#D4849B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7eca;
/* rgb */ color: rgb(207, 126, 202);
/* oklch */ color: oklch(70.4% 0.140 329.1);
Tailwind
colors: {
  custom: {
    50: '#dfa5da',
    500: '#cf7eca',
    950: '#000000',
  },
}
SCSS
$custom: #cf7eca;
$custom-light: #dfa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7eca",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 303.704,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70444,
    "c": 0.13964,
    "h": 329.1
  },
  "luminance": 0.32451
}

Semantic roles & 50–950 ramp

primary
#CF7ECA
secondary
#C7E2C8
accent
#B9352D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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