#C57DF2#C57DF2

#C57DF2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.178 H 311.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C57DF2
RGBrgb(197, 125, 242)
HSLhsl(277, 82%, 72%)
HSVhsv(277, 48%, 95%)
CMYKcmyk(18.6%, 48.3%, 0%, 5.1%)
CIE-LABlab(64.12, 48.31, -48.09)
CIE-LCHlch(64.12, 68.16, 315.13°)
OKLaboklab(71.07% 0.1168 -0.1341)
OKLCHoklch(71.07% 0.178 311)
XYZxyz(46.3837, 32.9492, 87.9036)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C57DF2 #AAF27D
analogous
#8B7DF2 #C57DF2 #F27DE5
triadic
#C57DF2 #F2C57D #7DF2C5
tetradic
#C57DF2 #F28B7D #AAF27D #7DE5F2
square
#C57DF2 #F28B7D #AAF27D #7DE5F2
split-complementary
#C57DF2 #E5F27D #7DF28B
monochromatic
#9116DE #AC45EC #C57DF2 #DEB5F8 #F3E3FC

Accessibility & contrast

On white

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

On black

7.59
#C57DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C57DF2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C57DF2#FFFFFF#000000##000000
##C57DF21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#C090AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c57df2;
/* rgb */ color: rgb(197, 125, 242);
/* oklch */ color: oklch(71.1% 0.178 311.0);
Tailwind
colors: {
  custom: {
    50: '#d9a4f7',
    500: '#c57df2',
    950: '#000000',
  },
}
SCSS
$custom: #c57df2;
$custom-light: #d9a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c57df2",
  "rgb": {
    "r": 197,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 276.923,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71068,
    "c": 0.17785,
    "h": 311
  },
  "luminance": 0.32948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C57DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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