#CF2EE2#CF2EE2

#CF2EE2 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.7% C 0.268 H 323.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF2EE2
RGBrgb(207, 46, 226)
HSLhsl(294, 76%, 53%)
HSVhsv(294, 80%, 89%)
CMYKcmyk(8.4%, 79.6%, 0%, 11.4%)
CIE-LABlab(52.63, 80.21, -57.35)
CIE-LCHlch(52.63, 98.61, 324.44°)
OKLaboklab(62.73% 0.2141 -0.1604)
OKLCHoklch(62.73% 0.268 323.2)
XYZxyz(40.4353, 20.7129, 73.8050)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2EE2 #41E22E
analogous
#752EE2 #CF2EE2 #E22E9B
triadic
#CF2EE2 #E2CF2E #2EE2CF
tetradic
#CF2EE2 #E2752E #41E22E #2E9BE2
square
#CF2EE2 #E2752E #41E22E #2E9BE2
split-complementary
#CF2EE2 #9BE22E #2EE275
monochromatic
#771283 #A81AB9 #CF2EE2 #DB64E9 #E899F1

Accessibility & contrast

On white

4.08
#CF2EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF2EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2EE2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2EE2#FFFFFF#000000##000000
##CF2EE21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#5084DE
Tritanopia (blue-blind)
#D2548A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf2ee2;
/* rgb */ color: rgb(207, 46, 226);
/* oklch */ color: oklch(62.7% 0.268 323.2);
Tailwind
colors: {
  custom: {
    50: '#e27bec',
    500: '#cf2ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ee2;
$custom-light: #e27bec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ee2",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 226
  },
  "hsl": {
    "h": 293.667,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62726,
    "c": 0.26756,
    "h": 323.2
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#CF2EE2
secondary
#97DD8F
accent
#F23649
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CF2EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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