#C051AF#C051AF

#C051AF is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.180 H 333.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C051AF
RGBrgb(192, 81, 175)
HSLhsl(309, 47%, 54%)
HSVhsv(309, 58%, 75%)
CMYKcmyk(0%, 57.8%, 8.9%, 24.7%)
CIE-LABlab(52.05, 56.03, -29.11)
CIE-LCHlch(52.05, 63.14, 332.55°)
OKLaboklab(60.99% 0.1617 -0.0793)
OKLCHoklch(60.99% 0.18 333.9)
XYZxyz(32.4186, 20.1888, 42.7385)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051AF #51C062
analogous
#9951C0 #C051AF #C05177
triadic
#C051AF #AFC051 #51AFC0
tetradic
#C051AF #C09951 #51C062 #5177C0
square
#C051AF #C09951 #51C062 #5177C0
split-complementary
#C051AF #77C051 #51C099
monochromatic
#6F2864 #9B388C #C051AF #D07EC4 #E1ABD8

Accessibility & contrast

On white

4.17
#C051AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C051AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051AF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051AF#FFFFFF#000000##000000
##C051AF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#C85879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c051af;
/* rgb */ color: rgb(192, 81, 175);
/* oklch */ color: oklch(61.0% 0.180 333.9);
Tailwind
colors: {
  custom: {
    50: '#d688c7',
    500: '#c051af',
    950: '#000000',
  },
}
SCSS
$custom: #c051af;
$custom-light: #d688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c051af",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 309.189,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.1801,
    "h": 333.9
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#C051AF
secondary
#9FCEA6
accent
#D66651
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C051AF

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

Preview Lab → · Contrast checker → · Palette generator →

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