#C57EFE#C57EFE

#C57EFE is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.190 H 307.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C57EFE
RGBrgb(197, 126, 254)
HSLhsl(273, 98%, 75%)
HSVhsv(273, 50%, 100%)
CMYKcmyk(22.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.92, 50.40, -53.42)
CIE-LCHlch(64.92, 73.44, 313.33°)
OKLaboklab(71.86% 0.1167 -0.1497)
OKLCHoklch(71.86% 0.19 307.9)
XYZxyz(48.3727, 33.9484, 97.7511)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57EFE #B7FE7E
analogous
#857EFE #C57EFE #FE7EF7
triadic
#C57EFE #FEC57E #7EFEC5
tetradic
#C57EFE #FE857E #B7FE7E #7EF7FE
square
#C57EFE #FE857E #B7FE7E #7EF7FE
split-complementary
#C57EFE #F7FE7E #7EFE85
monochromatic
#8E05FD #AA41FE #C57EFE #E0BBFE #F1E1FF

Accessibility & contrast

On white

2.70
#C57EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C57EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57EFE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57EFE#FFFFFF#000000##000000
##C57EFE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#6F9EFB
Tritanopia (blue-blind)
#BD94B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c57efe;
/* rgb */ color: rgb(197, 126, 254);
/* oklch */ color: oklch(71.9% 0.190 307.9);
Tailwind
colors: {
  custom: {
    50: '#d9a5ff',
    500: '#c57efe',
    950: '#000000',
  },
}
SCSS
$custom: #c57efe;
$custom-light: #d9a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c57efe",
  "rgb": {
    "r": 197,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 273.281,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71857,
    "c": 0.18976,
    "h": 307.9
  },
  "luminance": 0.33948
}

Semantic roles & 50–950 ramp

primary
#C57EFE
secondary
#E4F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C57EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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