#C57EEC#C57EEC

#C57EEC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.170 H 312.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C57EEC
RGBrgb(197, 126, 236)
HSLhsl(279, 74%, 71%)
HSVhsv(279, 47%, 93%)
CMYKcmyk(16.5%, 46.6%, 0%, 7.5%)
CIE-LABlab(64.04, 46.50, -44.91)
CIE-LCHlch(64.04, 64.64, 316.00°)
OKLaboklab(70.91% 0.1146 -0.1249)
OKLCHoklch(70.91% 0.17 312.5)
XYZxyz(45.6245, 32.8491, 83.2777)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57EEC #A5EC7E
analogous
#8E7EEC #C57EEC #EC7EDC
triadic
#C57EEC #ECC57E #7EECC5
tetradic
#C57EEC #EC8E7E #A5EC7E #7EDCEC
square
#C57EEC #EC8E7E #A5EC7E #7EDCEC
split-complementary
#C57EEC #DCEC7E #7EEC8E
monochromatic
#921FD1 #AD49E4 #C57EEC #DDB3F4 #F3E4FB

Accessibility & contrast

On white

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

On black

7.57
#C57EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57EEC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57EEC#FFFFFF#000000##000000
##C57EEC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#C18FAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c57eec;
/* rgb */ color: rgb(197, 126, 236);
/* oklch */ color: oklch(70.9% 0.170 312.5);
Tailwind
colors: {
  custom: {
    50: '#d8a5f2',
    500: '#c57eec',
    950: '#000000',
  },
}
SCSS
$custom: #c57eec;
$custom-light: #d8a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c57eec",
  "rgb": {
    "r": 197,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 278.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.16954,
    "h": 312.5
  },
  "luminance": 0.32848
}

Semantic roles & 50–950 ramp

primary
#C57EEC
secondary
#DFF2D4
accent
#D60F56
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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