#C57EEE#C57EEE

#C57EEE is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.0% C 0.172 H 312.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C57EEE
RGBrgb(197, 126, 238)
HSLhsl(278, 77%, 71%)
HSVhsv(278, 47%, 93%)
CMYKcmyk(17.2%, 47.1%, 0%, 6.7%)
CIE-LABlab(64.13, 46.92, -45.86)
CIE-LCHlch(64.13, 65.61, 315.66°)
OKLaboklab(71.02% 0.1149 -0.1277)
OKLCHoklch(71.02% 0.172 312)
XYZxyz(45.9167, 32.9660, 84.8166)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57EEE #A7EE7E
analogous
#8D7EEE #C57EEE #EE7EDF
triadic
#C57EEE #EEC57E #7EEEC5
tetradic
#C57EEE #EE8D7E #A7EE7E #7EDFEE
square
#C57EEE #EE8D7E #A7EE7E #7EDFEE
split-complementary
#C57EEE #DFEE7E #7EEE8D
monochromatic
#921CD5 #AD48E7 #C57EEE #DDB4F5 #F3E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C57EEE#FFFFFF#000000##000000
##C57EEE1.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)
#6598F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#C18FAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c57eee;
/* rgb */ color: rgb(197, 126, 238);
/* oklch */ color: oklch(71.0% 0.172 312.0);
Tailwind
colors: {
  custom: {
    50: '#d9a5f4',
    500: '#c57eee',
    950: '#000000',
  },
}
SCSS
$custom: #c57eee;
$custom-light: #d9a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c57eee",
  "rgb": {
    "r": 197,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 278.036,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.17178,
    "h": 312
  },
  "luminance": 0.32965
}

Semantic roles & 50–950 ramp

primary
#C57EEE
secondary
#E0F2D5
accent
#D90D57
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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