#CF2ECD#CF2ECD

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

Color values

HEX#CF2ECD
RGBrgb(207, 46, 205)
HSLhsl(301, 64%, 50%)
HSVhsv(301, 78%, 81%)
CMYKcmyk(0%, 77.8%, 1%, 18.8%)
CIE-LABlab(51.42, 76.87, -47.32)
CIE-LCHlch(51.42, 90.27, 328.39°)
OKLaboklab(61.47% 0.2155 -0.1311)
OKLCHoklch(61.47% 0.252 328.7)
XYZxyz(37.7282, 19.6301, 59.5476)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2ECD #2ECF30
analogous
#802ECF #CF2ECD #CF2E7D
triadic
#CF2ECD #CDCF2E #2ECDCF
tetradic
#CF2ECD #CF802E #2ECF30 #2E7DCF
square
#CF2ECD #CF802E #2ECF30 #2E7DCF
split-complementary
#CF2ECD #7DCF2E #2ECF80
monochromatic
#6B186A #9D239B #CF2ECD #DB5FDA #E791E5

Accessibility & contrast

On white

4.26
#CF2ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CF2ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2ECD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2ECD#FFFFFF#000000##000000
##CF2ECD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#D6497E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf2ecd;
/* rgb */ color: rgb(207, 46, 205);
/* oklch */ color: oklch(61.5% 0.252 328.7);
Tailwind
colors: {
  custom: {
    50: '#e27add',
    500: '#cf2ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ecd;
$custom-light: #e27add;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ecd",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 300.745,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61473,
    "c": 0.25231,
    "h": 328.7
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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