#C757EB#C757EB

#C757EB is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.228 H 317.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#C757EB
RGBrgb(199, 87, 235)
HSLhsl(285, 79%, 63%)
HSVhsv(285, 63%, 92%)
CMYKcmyk(15.3%, 63%, 0%, 7.8%)
CIE-LABlab(57.03, 65.90, -55.44)
CIE-LCHlch(57.03, 86.11, 319.93°)
OKLaboklab(65.81% 0.1665 -0.1553)
OKLCHoklch(65.81% 0.228 317)
XYZxyz(41.9546, 24.9583, 81.1886)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C757EB #7BEB57
analogous
#7D57EB #C757EB #EB57C5
triadic
#C757EB #EBC757 #57EBC7
tetradic
#C757EB #EB7D57 #7BEB57 #57C5EB
square
#C757EB #EB7D57 #7BEB57 #57C5EB
split-complementary
#C757EB #C5EB57 #57EB7D
monochromatic
#8C15B2 #B520E4 #C757EB #D98EF2 #EBC4F8

Accessibility & contrast

On white

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

On black

5.99
#C757EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C757EB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C757EB#FFFFFF#000000##000000
##C757EB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#C5719A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c757eb;
/* rgb */ color: rgb(199, 87, 235);
/* oklch */ color: oklch(65.8% 0.228 317.0);
Tailwind
colors: {
  custom: {
    50: '#dc8df2',
    500: '#c757eb',
    950: '#000000',
  },
}
SCSS
$custom: #c757eb;
$custom-light: #dc8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c757eb",
  "rgb": {
    "r": 199,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 285.405,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65805,
    "c": 0.22772,
    "h": 317
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C757EB

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

Preview Lab → · Contrast checker → · Palette generator →

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