#CF2ECC#CF2ECC

#CF2ECC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.4% C 0.252 H 329.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF2ECC
RGBrgb(207, 46, 204)
HSLhsl(301, 64%, 50%)
HSVhsv(301, 78%, 81%)
CMYKcmyk(0%, 77.8%, 1.4%, 18.8%)
CIE-LABlab(51.36, 76.72, -46.83)
CIE-LCHlch(51.36, 89.89, 328.60°)
OKLaboklab(61.42% 0.2156 -0.1297)
OKLCHoklch(61.42% 0.252 329)
XYZxyz(37.6079, 19.5819, 58.9140)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2ECC #2ECF31
analogous
#822ECF #CF2ECC #CF2E7C
triadic
#CF2ECC #CCCF2E #2ECCCF
tetradic
#CF2ECC #CF822E #2ECF31 #2E7CCF
square
#CF2ECC #CF822E #2ECF31 #2E7CCF
split-complementary
#CF2ECC #7CCF2E #2ECF82
monochromatic
#6B1869 #9D239B #CF2ECC #DB5FD9 #E791E5

Accessibility & contrast

On white

4.27
#CF2ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF2ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2ECC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2ECC#FFFFFF#000000##000000
##CF2ECC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#5F82C8
Tritanopia (blue-blind)
#D6487D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf2ecc;
/* rgb */ color: rgb(207, 46, 204);
/* oklch */ color: oklch(61.4% 0.252 329.0);
Tailwind
colors: {
  custom: {
    50: '#e27adc',
    500: '#cf2ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ecc;
$custom-light: #e27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ecc",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 204
  },
  "hsl": {
    "h": 301.118,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.2516,
    "h": 329
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#CF2ECC
secondary
#88D189
accent
#E74441
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF2ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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