#CE2FB4#CE2FB4

#CE2FB4 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.234 H 335.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CE2FB4
RGBrgb(206, 47, 180)
HSLhsl(310, 63%, 50%)
HSVhsv(310, 77%, 81%)
CMYKcmyk(0%, 77.2%, 12.6%, 19.2%)
CIE-LABlab(50.04, 72.72, -35.01)
CIE-LCHlch(50.04, 80.71, 334.30°)
OKLaboklab(60.04% 0.2133 -0.0956)
OKLCHoklch(60.04% 0.234 335.9)
XYZxyz(34.7089, 18.4534, 44.9050)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2FB4 #2FCE49
analogous
#982FCE #CE2FB4 #CE2F65
triadic
#CE2FB4 #B4CE2F #2FB4CE
tetradic
#CE2FB4 #CE982F #2FCE49 #2F65CE
square
#CE2FB4 #CE982F #2FCE49 #2F65CE
split-complementary
#CE2FB4 #65CE2F #2FCE98
monochromatic
#6A185D #9C2488 #CE2FB4 #DB60C7 #E691D8

Accessibility & contrast

On white

4.48
#CE2FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CE2FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2FB4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2FB4#FFFFFF#000000##000000
##CE2FB41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#D93C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce2fb4;
/* rgb */ color: rgb(206, 47, 180);
/* oklch */ color: oklch(60.0% 0.234 335.9);
Tailwind
colors: {
  custom: {
    50: '#e179cb',
    500: '#ce2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ce2fb4;
$custom-light: #e179cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2fb4",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 309.811,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.23374,
    "h": 335.9
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#CE2FB4
secondary
#88D194
accent
#E65D42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CE2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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