#C57AFE#C57AFE

#C57AFE is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.196 H 308.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C57AFE
RGBrgb(197, 122, 254)
HSLhsl(274, 99%, 74%)
HSVhsv(274, 52%, 100%)
CMYKcmyk(22.4%, 52%, 0%, 0.4%)
CIE-LABlab(64.12, 52.48, -54.70)
CIE-LCHlch(64.12, 75.80, 313.82°)
OKLaboklab(71.26% 0.1218 -0.1534)
OKLCHoklch(71.26% 0.196 308.5)
XYZxyz(47.8714, 32.9458, 97.5840)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57AFE #B3FE7A
analogous
#837AFE #C57AFE #FE7AF5
triadic
#C57AFE #FEC57A #7AFEC5
tetradic
#C57AFE #FE837A #B3FE7A #7AF5FE
square
#C57AFE #FE837A #B3FE7A #7AF5FE
split-complementary
#C57AFE #F5FE7A #7AFE83
monochromatic
#9002FC #AB3DFE #C57AFE #DFB7FE #F2E1FF

Accessibility & contrast

On white

2.77
#C57AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#C57AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57AFE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57AFE#FFFFFF#000000##000000
##C57AFE1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6B9CFB
Tritanopia (blue-blind)
#BD91B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c57afe;
/* rgb */ color: rgb(197, 122, 254);
/* oklch */ color: oklch(71.3% 0.196 308.5);
Tailwind
colors: {
  custom: {
    50: '#d9a3ff',
    500: '#c57afe',
    950: '#000000',
  },
}
SCSS
$custom: #c57afe;
$custom-light: #d9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c57afe",
  "rgb": {
    "r": 197,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 274.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71262,
    "c": 0.19588,
    "h": 308.5
  },
  "luminance": 0.32945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C57AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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