#CE2FB5#CE2FB5

#CE2FB5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.234 H 335.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CE2FB5
RGBrgb(206, 47, 181)
HSLhsl(309, 63%, 50%)
HSVhsv(309, 77%, 81%)
CMYKcmyk(0%, 77.2%, 12.1%, 19.2%)
CIE-LABlab(50.09, 72.87, -35.51)
CIE-LCHlch(50.09, 81.06, 334.02°)
OKLaboklab(60.09% 0.2134 -0.097)
OKLCHoklch(60.09% 0.234 335.5)
XYZxyz(34.8111, 18.4942, 45.4435)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2FB5 #2FCE48
analogous
#982FCE #CE2FB5 #CE2F66
triadic
#CE2FB5 #B5CE2F #2FB5CE
tetradic
#CE2FB5 #CE982F #2FCE48 #2F66CE
square
#CE2FB5 #CE982F #2FCE48 #2F66CE
split-complementary
#CE2FB5 #66CE2F #2FCE98
monochromatic
#6A185D #9C2489 #CE2FB5 #DB60C7 #E691D9

Accessibility & contrast

On white

4.47
#CE2FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CE2FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2FB5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2FB5#FFFFFF#000000##000000
##CE2FB51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3068B9
Deuteranopia (green-blind)
#6B7FB1
Tritanopia (blue-blind)
#D83D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce2fb5;
/* rgb */ color: rgb(206, 47, 181);
/* oklch */ color: oklch(60.1% 0.234 335.5);
Tailwind
colors: {
  custom: {
    50: '#e179cb',
    500: '#ce2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #ce2fb5;
$custom-light: #e179cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2fb5",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 309.434,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.2344,
    "h": 335.5
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#CE2FB5
secondary
#88D193
accent
#E65C42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CE2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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