#CE2FB7#CE2FB7

#CE2FB7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.2% C 0.236 H 334.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CE2FB7
RGBrgb(206, 47, 183)
HSLhsl(309, 63%, 50%)
HSVhsv(309, 77%, 81%)
CMYKcmyk(0%, 77.2%, 11.2%, 19.2%)
CIE-LABlab(50.19, 73.15, -36.53)
CIE-LCHlch(50.19, 81.76, 333.46°)
OKLaboklab(60.19% 0.2135 -0.1)
OKLCHoklch(60.19% 0.236 334.9)
XYZxyz(35.0178, 18.5769, 46.5320)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2FB7 #2FCE46
analogous
#952FCE #CE2FB7 #CE2F68
triadic
#CE2FB7 #B7CE2F #2FB7CE
tetradic
#CE2FB7 #CE952F #2FCE46 #2F68CE
square
#CE2FB7 #CE952F #2FCE46 #2F68CE
split-complementary
#CE2FB7 #68CE2F #2FCE95
monochromatic
#6A185E #9C248B #CE2FB7 #DB60C9 #E691DA

Accessibility & contrast

On white

4.45
#CE2FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CE2FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2FB7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2FB7#FFFFFF#000000##000000
##CE2FB71.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BB
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#D83E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce2fb7;
/* rgb */ color: rgb(206, 47, 183);
/* oklch */ color: oklch(60.2% 0.236 334.9);
Tailwind
colors: {
  custom: {
    50: '#e179cd',
    500: '#ce2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ce2fb7;
$custom-light: #e179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2fb7",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 308.679,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.23573,
    "h": 334.9
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#CE2FB7
secondary
#88D193
accent
#E65A42
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CE2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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