#CF7ECD#CF7ECD

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

Color values

HEX#CF7ECD
RGBrgb(207, 126, 205)
HSLhsl(301, 46%, 65%)
HSVhsv(301, 39%, 81%)
CMYKcmyk(0%, 39.1%, 1%, 18.8%)
CIE-LABlab(63.83, 43.30, -27.87)
CIE-LCHlch(63.83, 51.49, 327.24°)
OKLaboklab(70.57% 0.1206 -0.0759)
OKLCHoklch(70.57% 0.142 327.8)
XYZxyz(44.2116, 32.5969, 61.7088)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7ECD #7ECF80
analogous
#A87ECF #CF7ECD #CF7EA5
triadic
#CF7ECD #CDCF7E #7ECDCF
tetradic
#CF7ECD #CFA87E #7ECF80 #7EA5CF
square
#CF7ECD #CFA87E #7ECF80 #7EA5CF
split-complementary
#CF7ECD #A5CF7E #7ECFA8
monochromatic
#993997 #BE51BC #CF7ECD #E0ABDE #F0D7F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7ECD#FFFFFF#000000##000000
##CF7ECD1.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)
#7994D0
Deuteranopia (green-blind)
#8E9ECA
Tritanopia (blue-blind)
#D4859C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7ecd;
/* rgb */ color: rgb(207, 126, 205);
/* oklch */ color: oklch(70.6% 0.142 327.8);
Tailwind
colors: {
  custom: {
    50: '#dfa5dc',
    500: '#cf7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ecd;
$custom-light: #dfa5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ecd",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 301.481,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.7057,
    "c": 0.14246,
    "h": 327.8
  },
  "luminance": 0.32595
}

Semantic roles & 50–950 ramp

primary
#CF7ECD
secondary
#C7E2C7
accent
#B9302D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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