#CF2EC8#CF2EC8

#CF2EC8 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.2% C 0.249 H 330.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF2EC8
RGBrgb(207, 46, 200)
HSLhsl(303, 64%, 50%)
HSVhsv(303, 78%, 81%)
CMYKcmyk(0%, 77.8%, 3.4%, 18.8%)
CIE-LABlab(51.14, 76.11, -44.88)
CIE-LCHlch(51.14, 88.36, 329.48°)
OKLaboklab(61.19% 0.2156 -0.124)
OKLCHoklch(61.19% 0.249 330.1)
XYZxyz(37.1343, 19.3925, 56.4197)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2EC8 #2ECF35
analogous
#862ECF #CF2EC8 #CF2E77
triadic
#CF2EC8 #C8CF2E #2EC8CF
tetradic
#CF2EC8 #CF862E #2ECF35 #2E77CF
square
#CF2EC8 #CF862E #2ECF35 #2E77CF
split-complementary
#CF2EC8 #77CF2E #2ECF86
monochromatic
#6B1867 #9D2398 #CF2EC8 #DB5FD6 #E791E3

Accessibility & contrast

On white

4.31
#CF2EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF2EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2EC8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2EC8#FFFFFF#000000##000000
##CF2EC81.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#6281C4
Tritanopia (blue-blind)
#D7467B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf2ec8;
/* rgb */ color: rgb(207, 46, 200);
/* oklch */ color: oklch(61.2% 0.249 330.1);
Tailwind
colors: {
  custom: {
    50: '#e27ad9',
    500: '#cf2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ec8;
$custom-light: #e27ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ec8",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 302.609,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.24878,
    "h": 330.1
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#CF2EC8
secondary
#88D18B
accent
#E74841
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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