#C74ABA#C74ABA

#C74ABA is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.203 H 332.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C74ABA
RGBrgb(199, 74, 186)
HSLhsl(306, 53%, 54%)
HSVhsv(306, 63%, 78%)
CMYKcmyk(0%, 62.8%, 6.5%, 22%)
CIE-LABlab(52.50, 62.68, -34.73)
CIE-LCHlch(52.50, 71.66, 331.01°)
OKLaboklab(61.69% 0.1795 -0.0951)
OKLCHoklch(61.69% 0.203 332.1)
XYZxyz(34.8649, 20.5875, 48.5823)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74ABA #4AC757
analogous
#954AC7 #C74ABA #C74A7B
triadic
#C74ABA #BAC74A #4ABAC7
tetradic
#C74ABA #C7954A #4AC757 #4A7BC7
square
#C74ABA #C7954A #4AC757 #4A7BC7
split-complementary
#C74ABA #7BC74A #4AC795
monochromatic
#73246B #A23296 #C74ABA #D579CC #E4A7DE

Accessibility & contrast

On white

4.10
#C74ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C74ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74ABA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74ABA#FFFFFF#000000##000000
##C74ABA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#6E84B7
Tritanopia (blue-blind)
#CF557B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74aba;
/* rgb */ color: rgb(199, 74, 186);
/* oklch */ color: oklch(61.7% 0.203 332.1);
Tailwind
colors: {
  custom: {
    50: '#db85cf',
    500: '#c74aba',
    950: '#000000',
  },
}
SCSS
$custom: #c74aba;
$custom-light: #db85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c74aba",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 306.24,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.20317,
    "h": 332.1
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#C74ABA
secondary
#9CD1A1
accent
#DC5B4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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