#C057AF#C057AF

#C057AF is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.8% C 0.171 H 334.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C057AF
RGBrgb(192, 87, 175)
HSLhsl(310, 45%, 55%)
HSVhsv(310, 55%, 75%)
CMYKcmyk(0%, 54.7%, 8.9%, 24.7%)
CIE-LABlab(53.08, 53.25, -27.51)
CIE-LCHlch(53.08, 59.93, 332.68°)
OKLaboklab(61.75% 0.1536 -0.0748)
OKLCHoklch(61.75% 0.171 334.1)
XYZxyz(32.8844, 21.1203, 42.8937)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C057AF #57C068
analogous
#9C57C0 #C057AF #C0577B
triadic
#C057AF #AFC057 #57AFC0
tetradic
#C057AF #C09C57 #57C068 #577BC0
square
#C057AF #C09C57 #57C068 #577BC0
split-complementary
#C057AF #7BC057 #57C09C
monochromatic
#722B66 #9E3B8E #C057AF #D184C4 #E1B0D9

Accessibility & contrast

On white

4.02
#C057AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C057AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C057AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C057AF#FFFFFF#000000##000000
##C057AF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#C85D7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c057af;
/* rgb */ color: rgb(192, 87, 175);
/* oklch */ color: oklch(61.8% 0.171 334.1);
Tailwind
colors: {
  custom: {
    50: '#d58bc7',
    500: '#c057af',
    950: '#000000',
  },
}
SCSS
$custom: #c057af;
$custom-light: #d58bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c057af",
  "rgb": {
    "r": 192,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 309.714,
    "s": 45.455,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.17085,
    "h": 334.1
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

primary
#C057AF
secondary
#A3D0AA
accent
#D56853
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C057AF

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

Preview Lab → · Contrast checker → · Palette generator →

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