#C62ABA#C62ABA

#C62ABA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.238 H 331.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C62ABA
RGBrgb(198, 42, 186)
HSLhsl(305, 65%, 47%)
HSVhsv(305, 79%, 78%)
CMYKcmyk(0%, 78.8%, 6.1%, 22.4%)
CIE-LABlab(48.52, 73.23, -41.00)
CIE-LCHlch(48.52, 83.93, 330.76°)
OKLaboklab(58.79% 0.2098 -0.113)
OKLCHoklch(58.79% 0.238 331.7)
XYZxyz(32.9797, 17.2096, 48.0297)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62ABA #2AC636
analogous
#842AC6 #C62ABA #C62A6C
triadic
#C62ABA #BAC62A #2ABAC6
tetradic
#C62ABA #C6842A #2AC636 #2A6CC6
square
#C62ABA #C6842A #2AC636 #2A6CC6
split-complementary
#C62ABA #6CC62A #2AC684
monochromatic
#61155B #941F8B #C62ABA #DA53D0 #E585DE

Accessibility & contrast

On white

4.73
#C62ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C62ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C62ABA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62ABA#FFFFFF#000000##FFFFFF
##C62ABA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BE
Deuteranopia (green-blind)
#5F7BB6
Tritanopia (blue-blind)
#CE3F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c62aba;
/* rgb */ color: rgb(198, 42, 186);
/* oklch */ color: oklch(58.8% 0.238 331.7);
Tailwind
colors: {
  custom: {
    50: '#dc77cf',
    500: '#c62aba',
    950: '#000000',
  },
}
SCSS
$custom: #c62aba;
$custom-light: #dc77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c62aba",
  "rgb": {
    "r": 198,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 304.615,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.23826,
    "h": 331.7
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#C62ABA
secondary
#7DCE84
accent
#E84D40
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C62ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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