#C57AEC#C57AEC

#C57AEC is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.3% C 0.176 H 313.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C57AEC
RGBrgb(197, 122, 236)
HSLhsl(279, 75%, 70%)
HSVhsv(279, 48%, 93%)
CMYKcmyk(16.5%, 48.3%, 0%, 7.5%)
CIE-LABlab(63.22, 48.61, -46.20)
CIE-LCHlch(63.22, 67.06, 316.45°)
OKLaboklab(70.3% 0.1201 -0.1286)
OKLCHoklch(70.3% 0.176 313)
XYZxyz(45.1233, 31.8466, 83.1106)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57AEC #A1EC7A
analogous
#8C7AEC #C57AEC #EC7ADA
triadic
#C57AEC #ECC57A #7AECC5
tetradic
#C57AEC #EC8C7A #A1EC7A #7ADAEC
square
#C57AEC #EC8C7A #A1EC7A #7ADAEC
split-complementary
#C57AEC #DAEC7A #7AEC8C
monochromatic
#921DCE #AE44E4 #C57AEC #DCB0F4 #F3E4FB

Accessibility & contrast

On white

2.85
#C57AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C57AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57AEC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57AEC#FFFFFF#000000##000000
##C57AEC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#C18CA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c57aec;
/* rgb */ color: rgb(197, 122, 236);
/* oklch */ color: oklch(70.3% 0.176 313.0);
Tailwind
colors: {
  custom: {
    50: '#d9a2f2',
    500: '#c57aec',
    950: '#000000',
  },
}
SCSS
$custom: #c57aec;
$custom-light: #d9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c57aec",
  "rgb": {
    "r": 197,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 279.474,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.17599,
    "h": 313
  },
  "luminance": 0.31846
}

Semantic roles & 50–950 ramp

primary
#C57AEC
secondary
#DCF1D1
accent
#D70E53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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