#CE51F2#CE51F2

#CE51F2 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.5% C 0.244 H 317.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CE51F2
RGBrgb(206, 81, 242)
HSLhsl(287, 86%, 63%)
HSVhsv(287, 67%, 95%)
CMYKcmyk(14.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(57.48, 71.29, -58.58)
CIE-LCHlch(57.48, 92.27, 320.59°)
OKLaboklab(66.45% 0.1811 -0.1643)
OKLCHoklch(66.45% 0.244 317.8)
XYZxyz(44.4208, 25.4194, 86.5537)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51F2 #75F251
analogous
#7D51F2 #CE51F2 #F251C5
triadic
#CE51F2 #F2CE51 #51F2CE
tetradic
#CE51F2 #F27D51 #75F251 #51C5F2
square
#CE51F2 #F27D51 #75F251 #51C5F2
split-complementary
#CE51F2 #C5F251 #51F27D
monochromatic
#940EBB #BE18EE #CE51F2 #DE8AF6 #EEC3FB

Accessibility & contrast

On white

3.45
#CE51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CE51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51F2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51F2#FFFFFF#000000##000000
##CE51F21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#CD6F9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ce51f2;
/* rgb */ color: rgb(206, 81, 242);
/* oklch */ color: oklch(66.5% 0.244 317.8);
Tailwind
colors: {
  custom: {
    50: '#e18bf7',
    500: '#ce51f2',
    950: '#000000',
  },
}
SCSS
$custom: #ce51f2;
$custom-light: #e18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51f2",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 286.584,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.24449,
    "h": 317.8
  },
  "luminance": 0.25417
}

Semantic roles & 50–950 ramp

primary
#CE51F2
secondary
#C0ECB3
accent
#E30335
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CE51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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