#C57DEC#C57DEC

#C57DEC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.8% C 0.171 H 312.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C57DEC
RGBrgb(197, 125, 236)
HSLhsl(279, 74%, 71%)
HSVhsv(279, 47%, 93%)
CMYKcmyk(16.5%, 47%, 0%, 7.5%)
CIE-LABlab(63.83, 47.03, -45.23)
CIE-LCHlch(63.83, 65.25, 316.12°)
OKLaboklab(70.76% 0.116 -0.1258)
OKLCHoklch(70.76% 0.171 312.7)
XYZxyz(45.4973, 32.5947, 83.2353)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57DEC #A4EC7D
analogous
#8D7DEC #C57DEC #EC7DDB
triadic
#C57DEC #ECC57D #7DECC5
tetradic
#C57DEC #EC8D7D #A4EC7D #7DDBEC
square
#C57DEC #EC8D7D #A4EC7D #7DDBEC
split-complementary
#C57DEC #DBEC7D #7DEC8D
monochromatic
#921ED0 #AD48E4 #C57DEC #DDB2F4 #F3E4FB

Accessibility & contrast

On white

2.79
#C57DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#C57DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57DEC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57DEC#FFFFFF#000000##000000
##C57DEC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#C18EA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c57dec;
/* rgb */ color: rgb(197, 125, 236);
/* oklch */ color: oklch(70.8% 0.171 312.7);
Tailwind
colors: {
  custom: {
    50: '#d8a4f2',
    500: '#c57dec',
    950: '#000000',
  },
}
SCSS
$custom: #c57dec;
$custom-light: #d8a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c57dec",
  "rgb": {
    "r": 197,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 278.919,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.17116,
    "h": 312.7
  },
  "luminance": 0.32594
}

Semantic roles & 50–950 ramp

primary
#C57DEC
secondary
#DEF1D3
accent
#D70F55
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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