#C757F2#C757F2

#C757F2 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.234 H 315.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C757F2
RGBrgb(199, 87, 242)
HSLhsl(283, 86%, 65%)
HSVhsv(283, 64%, 95%)
CMYKcmyk(17.8%, 64%, 0%, 5.1%)
CIE-LABlab(57.43, 67.26, -58.71)
CIE-LCHlch(57.43, 89.28, 318.89°)
OKLaboklab(66.22% 0.1664 -0.1649)
OKLCHoklch(66.22% 0.234 315.3)
XYZxyz(42.9858, 25.3708, 86.6199)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C757F2 #82F257
analogous
#7A57F2 #C757F2 #F257CF
triadic
#C757F2 #F2C757 #57F2C7
tetradic
#C757F2 #F27A57 #82F257 #57CFF2
square
#C757F2 #F27A57 #82F257 #57CFF2
split-complementary
#C757F2 #CFF257 #57F27A
monochromatic
#8F0FC0 #B41EEE #C757F2 #DA90F6 #EDC9FB

Accessibility & contrast

On white

3.46
#C757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C757F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C757F2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C757F2#FFFFFF#000000##000000
##C757F21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1083F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#C4749D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c757f2;
/* rgb */ color: rgb(199, 87, 242);
/* oklch */ color: oklch(66.2% 0.234 315.3);
Tailwind
colors: {
  custom: {
    50: '#dc8df7',
    500: '#c757f2',
    950: '#000000',
  },
}
SCSS
$custom: #c757f2;
$custom-light: #dc8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c757f2",
  "rgb": {
    "r": 199,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 283.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.23423,
    "h": 315.3
  },
  "luminance": 0.25369
}

Semantic roles & 50–950 ramp

primary
#C757F2
secondary
#C6EDB8
accent
#E20341
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C757F2

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

Preview Lab → · Contrast checker → · Palette generator →

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