#C57DFE#C57DFE

#C57DFE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.191 H 308.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C57DFE
RGBrgb(197, 125, 254)
HSLhsl(273, 98%, 74%)
HSVhsv(273, 51%, 100%)
CMYKcmyk(22.4%, 50.8%, 0%, 0.4%)
CIE-LABlab(64.72, 50.92, -53.74)
CIE-LCHlch(64.72, 74.03, 313.46°)
OKLaboklab(71.71% 0.118 -0.1506)
OKLCHoklch(71.71% 0.191 308.1)
XYZxyz(48.2454, 33.6939, 97.7087)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57DFE #B6FE7D
analogous
#857DFE #C57DFE #FE7DF7
triadic
#C57DFE #FEC57D #7DFEC5
tetradic
#C57DFE #FE857D #B6FE7D #7DF7FE
square
#C57DFE #FE857D #B6FE7D #7DF7FE
split-complementary
#C57DFE #F7FE7D #7DFE85
monochromatic
#8F04FD #AA40FE #C57DFE #E0BAFE #F1E1FF

Accessibility & contrast

On white

2.71
#C57DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C57DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57DFE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57DFE#FFFFFF#000000##000000
##C57DFE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#BD93B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c57dfe;
/* rgb */ color: rgb(197, 125, 254);
/* oklch */ color: oklch(71.7% 0.191 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9a5ff',
    500: '#c57dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c57dfe;
$custom-light: #d9a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c57dfe",
  "rgb": {
    "r": 197,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 273.488,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.1913,
    "h": 308.1
  },
  "luminance": 0.33693
}

Semantic roles & 50–950 ramp

primary
#C57DFE
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C57DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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