#C57FF2#C57FF2

#C57FF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.175 H 310.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C57FF2
RGBrgb(197, 127, 242)
HSLhsl(277, 82%, 72%)
HSVhsv(277, 48%, 95%)
CMYKcmyk(18.6%, 47.5%, 0%, 5.1%)
CIE-LABlab(64.53, 47.25, -47.44)
CIE-LCHlch(64.53, 66.96, 314.89°)
OKLaboklab(71.38% 0.1141 -0.1323)
OKLCHoklch(71.38% 0.175 310.8)
XYZxyz(46.6394, 33.4607, 87.9888)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57FF2 #ACF27F
analogous
#8C7FF2 #C57FF2 #F27FE5
triadic
#C57FF2 #F2C57F #7FF2C5
tetradic
#C57FF2 #F28C7F #ACF27F #7FE5F2
square
#C57FF2 #F28C7F #ACF27F #7FE5F2
split-complementary
#C57FF2 #E5F27F #7FF28C
monochromatic
#9117E0 #AC47EC #C57FF2 #DEB7F8 #F2E3FC

Accessibility & contrast

On white

2.73
#C57FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C57FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57FF2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57FF2#FFFFFF#000000##000000
##C57FF21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C091AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c57ff2;
/* rgb */ color: rgb(197, 127, 242);
/* oklch */ color: oklch(71.4% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#d9a6f7',
    500: '#c57ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c57ff2;
$custom-light: #d9a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c57ff2",
  "rgb": {
    "r": 197,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 276.522,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71375,
    "c": 0.17466,
    "h": 310.8
  },
  "luminance": 0.3346
}

Semantic roles & 50–950 ramp

primary
#C57FF2
secondary
#E2F4D7
accent
#DE085B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C57FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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