#C757EA#C757EA

#C757EA is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.227 H 317.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C757EA
RGBrgb(199, 87, 234)
HSLhsl(286, 78%, 63%)
HSVhsv(286, 63%, 92%)
CMYKcmyk(15%, 62.8%, 0%, 8.2%)
CIE-LABlab(56.98, 65.70, -54.97)
CIE-LCHlch(56.98, 85.66, 320.08°)
OKLaboklab(65.75% 0.1666 -0.1539)
OKLCHoklch(65.75% 0.227 317.3)
XYZxyz(41.8105, 24.9007, 80.4299)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C757EA #7AEA57
analogous
#7D57EA #C757EA #EA57C4
triadic
#C757EA #EAC757 #57EAC7
tetradic
#C757EA #EA7D57 #7AEA57 #57C4EA
square
#C757EA #EA7D57 #7AEA57 #57C4EA
split-complementary
#C757EA #C4EA57 #57EA7D
monochromatic
#8C16B1 #B521E3 #C757EA #D98DF1 #EBC4F8

Accessibility & contrast

On white

3.51
#C757EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C757EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C757EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C757EA#FFFFFF#000000##000000
##C757EA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#5B8CE6
Tritanopia (blue-blind)
#C67199
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c757ea;
/* rgb */ color: rgb(199, 87, 234);
/* oklch */ color: oklch(65.7% 0.227 317.3);
Tailwind
colors: {
  custom: {
    50: '#db8df1',
    500: '#c757ea',
    950: '#000000',
  },
}
SCSS
$custom: #c757ea;
$custom-light: #db8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c757ea",
  "rgb": {
    "r": 199,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 285.714,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.2268,
    "h": 317.3
  },
  "luminance": 0.24899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C757EA

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

Preview Lab → · Contrast checker → · Palette generator →

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