#C757EC#C757EC

#C757EC is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.229 H 316.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#C757EC
RGBrgb(199, 87, 236)
HSLhsl(285, 80%, 63%)
HSVhsv(285, 63%, 93%)
CMYKcmyk(15.7%, 63.1%, 0%, 7.5%)
CIE-LABlab(57.09, 66.09, -55.91)
CIE-LCHlch(57.09, 86.57, 319.77°)
OKLaboklab(65.86% 0.1665 -0.1567)
OKLCHoklch(65.86% 0.229 316.7)
XYZxyz(42.0995, 25.0162, 81.9516)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C757EC #7CEC57
analogous
#7C57EC #C757EC #EC57C6
triadic
#C757EC #ECC757 #57ECC7
tetradic
#C757EC #EC7C57 #7CEC57 #57C6EC
square
#C757EC #EC7C57 #7CEC57 #57C6EC
split-complementary
#C757EC #C6EC57 #57EC7C
monochromatic
#8D14B4 #B520E6 #C757EC #D98EF2 #ECC5F8

Accessibility & contrast

On white

3.50
#C757EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#C757EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C757EC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C757EC#FFFFFF#000000##000000
##C757EC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F1
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#C5729A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c757ec;
/* rgb */ color: rgb(199, 87, 236);
/* oklch */ color: oklch(65.9% 0.229 316.7);
Tailwind
colors: {
  custom: {
    50: '#dc8df3',
    500: '#c757ec',
    950: '#000000',
  },
}
SCSS
$custom: #c757ec;
$custom-light: #dc8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#c757ec",
  "rgb": {
    "r": 199,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 285.101,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.22865,
    "h": 316.7
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

primary
#C757EC
secondary
#C2EAB5
accent
#DC0A3E
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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