#C57EF2#C57EF2

#C57EF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.176 H 310.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#C57EF2
RGBrgb(197, 126, 242)
HSLhsl(277, 82%, 72%)
HSVhsv(277, 48%, 95%)
CMYKcmyk(18.6%, 47.9%, 0%, 5.1%)
CIE-LABlab(64.33, 47.78, -47.77)
CIE-LCHlch(64.33, 67.56, 315.01°)
OKLaboklab(71.22% 0.1154 -0.1332)
OKLCHoklch(71.22% 0.176 310.9)
XYZxyz(46.5109, 33.2037, 87.9460)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57EF2 #ABF27E
analogous
#8B7EF2 #C57EF2 #F27EE5
triadic
#C57EF2 #F2C57E #7EF2C5
tetradic
#C57EF2 #F28B7E #ABF27E #7EE5F2
square
#C57EF2 #F28B7E #ABF27E #7EE5F2
split-complementary
#C57EF2 #E5F27E #7EF28B
monochromatic
#9116DF #AC46EC #C57EF2 #DEB6F8 #F3E3FC

Accessibility & contrast

On white

2.75
#C57EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#C57EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57EF2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57EF2#FFFFFF#000000##000000
##C57EF21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C091AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c57ef2;
/* rgb */ color: rgb(197, 126, 242);
/* oklch */ color: oklch(71.2% 0.176 310.9);
Tailwind
colors: {
  custom: {
    50: '#d9a5f7',
    500: '#c57ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c57ef2;
$custom-light: #d9a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c57ef2",
  "rgb": {
    "r": 197,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 276.724,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.17625,
    "h": 310.9
  },
  "luminance": 0.33203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C57EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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