#CF5ECC#CF5ECC

#CF5ECC is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.194 H 328.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CF5ECC
RGBrgb(207, 94, 204)
HSLhsl(302, 54%, 59%)
HSVhsv(302, 55%, 81%)
CMYKcmyk(0%, 54.6%, 1.4%, 18.8%)
CIE-LABlab(57.69, 59.05, -36.85)
CIE-LCHlch(57.69, 69.60, 328.03°)
OKLaboklab(65.99% 0.1653 -0.1012)
OKLCHoklch(65.99% 0.194 328.5)
XYZxyz(40.6334, 25.6329, 59.9225)
Luminance0.2563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ECC #5ECF61
analogous
#9A5ECF #CF5ECC #CF5E94
triadic
#CF5ECC #CCCF5E #5ECCCF
tetradic
#CF5ECC #CF9A5E #5ECF61 #5E94CF
square
#CF5ECC #CF9A5E #5ECF61 #5E94CF
split-complementary
#CF5ECC #94CF5E #5ECF9A
monochromatic
#8A2987 #B937B5 #CF5ECC #DD8DDB #EBBCEA

Accessibility & contrast

On white

3.43
#CF5ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CF5ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5ECC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5ECC#FFFFFF#000000##000000
##CF5ECC1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#D56A8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5ecc;
/* rgb */ color: rgb(207, 94, 204);
/* oklch */ color: oklch(66.0% 0.194 328.5);
Tailwind
colors: {
  custom: {
    50: '#e091dc',
    500: '#cf5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ecc;
$custom-light: #e091dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ecc",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 301.593,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65991,
    "c": 0.19386,
    "h": 328.5
  },
  "luminance": 0.2563
}

Semantic roles & 50–950 ramp

primary
#CF5ECC
secondary
#AEDBAF
accent
#DD4E4A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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