#C857EB#C857EB

#C857EB is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.228 H 317.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#C857EB
RGBrgb(200, 87, 235)
HSLhsl(286, 79%, 63%)
HSVhsv(286, 63%, 92%)
CMYKcmyk(14.9%, 63%, 0%, 7.8%)
CIE-LABlab(57.17, 66.12, -55.22)
CIE-LCHlch(57.17, 86.15, 320.14°)
OKLaboklab(65.93% 0.1677 -0.1546)
OKLCHoklch(65.93% 0.228 317.3)
XYZxyz(42.2208, 25.0956, 81.2011)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C857EB #7AEB57
analogous
#7E57EB #C857EB #EB57C4
triadic
#C857EB #EBC857 #57EBC8
tetradic
#C857EB #EB7E57 #7AEB57 #57C4EB
square
#C857EB #EB7E57 #7AEB57 #57C4EB
split-complementary
#C857EB #C4EB57 #57EB7E
monochromatic
#8D15B2 #B620E4 #C857EB #DA8EF2 #ECC4F8

Accessibility & contrast

On white

3.49
#C857EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#C857EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C857EB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C857EB#FFFFFF#000000##000000
##C857EB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#5B8DE7
Tritanopia (blue-blind)
#C7719A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c857eb;
/* rgb */ color: rgb(200, 87, 235);
/* oklch */ color: oklch(65.9% 0.228 317.3);
Tailwind
colors: {
  custom: {
    50: '#dc8df2',
    500: '#c857eb',
    950: '#000000',
  },
}
SCSS
$custom: #c857eb;
$custom-light: #dc8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c857eb",
  "rgb": {
    "r": 200,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 285.811,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6593,
    "c": 0.22813,
    "h": 317.3
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#C857EB
secondary
#C1E9B4
accent
#DB0A3C
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C857EB

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

Preview Lab → · Contrast checker → · Palette generator →

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