#CF2ED7#CF2ED7

#CF2ED7 is a light, highly saturated purple. Relative luminance 0.201; OKLCH L 62.1% C 0.260 H 326.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF2ED7
RGBrgb(207, 46, 215)
HSLhsl(297, 68%, 51%)
HSVhsv(297, 79%, 84%)
CMYKcmyk(3.7%, 78.6%, 0%, 15.7%)
CIE-LABlab(51.98, 78.44, -52.14)
CIE-LCHlch(51.98, 94.19, 326.38°)
OKLaboklab(62.06% 0.2151 -0.1452)
OKLCHoklch(62.06% 0.26 326)
XYZxyz(38.9741, 20.1284, 66.1092)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2ED7 #36D72E
analogous
#7A2ED7 #CF2ED7 #D72E8A
triadic
#CF2ED7 #D7CF2E #2ED7CF
tetradic
#CF2ED7 #D77A2E #36D72E #2E8AD7
square
#CF2ED7 #D77A2E #36D72E #2E8AD7
split-complementary
#CF2ED7 #8AD72E #2ED77A
monochromatic
#701674 #A120A8 #CF2ED7 #DB61E1 #E795EB

Accessibility & contrast

On white

4.18
#CF2ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF2ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2ED7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2ED7#FFFFFF#000000##000000
##CF2ED71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#5883D3
Tritanopia (blue-blind)
#D44E83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf2ed7;
/* rgb */ color: rgb(207, 46, 215);
/* oklch */ color: oklch(62.1% 0.260 326.0);
Tailwind
colors: {
  custom: {
    50: '#e27ae4',
    500: '#cf2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ed7;
$custom-light: #e27ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ed7",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 297.16,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.2595,
    "h": 326
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#CF2ED7
secondary
#8FD68B
accent
#EB3D45
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CF2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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