#C57FEF#C57FEF

#C57FEF is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.171 H 311.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C57FEF
RGBrgb(197, 127, 239)
HSLhsl(278, 78%, 72%)
HSVhsv(278, 47%, 94%)
CMYKcmyk(17.6%, 46.9%, 0%, 6.3%)
CIE-LABlab(64.39, 46.61, -46.01)
CIE-LCHlch(64.39, 65.49, 315.37°)
OKLaboklab(71.22% 0.1137 -0.1281)
OKLCHoklch(71.22% 0.171 311.6)
XYZxyz(46.1926, 33.2820, 85.6353)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57FEF #A9EF7F
analogous
#8D7FEF #C57FEF #EF7FE1
triadic
#C57FEF #EFC57F #7FEFC5
tetradic
#C57FEF #EF8D7F #A9EF7F #7FE1EF
square
#C57FEF #EF8D7F #A9EF7F #7FE1EF
split-complementary
#C57FEF #E1EF7F #7FEF8D
monochromatic
#911BD9 #AC49E8 #C57FEF #DEB5F6 #F3E4FC

Accessibility & contrast

On white

2.74
#C57FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C57FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57FEF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57FEF#FFFFFF#000000##000000
##C57FEF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#C191AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c57fef;
/* rgb */ color: rgb(197, 127, 239);
/* oklch */ color: oklch(71.2% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#d8a6f4',
    500: '#c57fef',
    950: '#000000',
  },
}
SCSS
$custom: #c57fef;
$custom-light: #d8a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c57fef",
  "rgb": {
    "r": 197,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 277.5,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.17128,
    "h": 311.6
  },
  "luminance": 0.33281
}

Semantic roles & 50–950 ramp

primary
#C57FEF
secondary
#E1F3D7
accent
#DA0B59
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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