#C57AFA#C57AFA

#C57AFA is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.191 H 309.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C57AFA
RGBrgb(197, 122, 250)
HSLhsl(275, 93%, 73%)
HSVhsv(275, 51%, 98%)
CMYKcmyk(21.2%, 51.2%, 0%, 2%)
CIE-LABlab(63.91, 51.61, -52.83)
CIE-LCHlch(63.91, 73.85, 314.33°)
OKLaboklab(71.04% 0.1215 -0.1479)
OKLCHoklch(71.04% 0.191 309.4)
XYZxyz(47.2375, 32.6923, 94.2457)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57AFA #AFFA7A
analogous
#857AFA #C57AFA #FA7AEF
triadic
#C57AFA #FAC57A #7AFAC5
tetradic
#C57AFA #FA857A #AFFA7A #7AEFFA
square
#C57AFA #FA857A #AFFA7A #7AEFFA
split-complementary
#C57AFA #EFFA7A #7AFA85
monochromatic
#9109F1 #AB3FF8 #C57AFA #DFB5FC #F2E2FE

Accessibility & contrast

On white

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

On black

7.54
#C57AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57AFA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57AFA#FFFFFF#000000##000000
##C57AFA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#BE90AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c57afa;
/* rgb */ color: rgb(197, 122, 250);
/* oklch */ color: oklch(71.0% 0.191 309.4);
Tailwind
colors: {
  custom: {
    50: '#d9a3fc',
    500: '#c57afa',
    950: '#000000',
  },
}
SCSS
$custom: #c57afa;
$custom-light: #d9a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c57afa",
  "rgb": {
    "r": 197,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 275.156,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71043,
    "c": 0.19144,
    "h": 309.4
  },
  "luminance": 0.32692
}

Semantic roles & 50–950 ramp

primary
#C57AFA
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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