#C74ABF#C74ABF

#C74ABF is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.207 H 330.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C74ABF
RGBrgb(199, 74, 191)
HSLhsl(304, 53%, 54%)
HSVhsv(304, 63%, 78%)
CMYKcmyk(0%, 62.8%, 4%, 22%)
CIE-LABlab(52.73, 63.49, -37.25)
CIE-LCHlch(52.73, 73.61, 329.60°)
OKLaboklab(61.94% 0.18 -0.1024)
OKLCHoklch(61.94% 0.207 330.4)
XYZxyz(35.4057, 20.8038, 51.4308)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74ABF #4AC752
analogous
#904AC7 #C74ABF #C74A80
triadic
#C74ABF #BFC74A #4ABFC7
tetradic
#C74ABF #C7904A #4AC752 #4A80C7
square
#C74ABF #C7904A #4AC752 #4A80C7
split-complementary
#C74ABF #80C74A #4AC790
monochromatic
#73246E #A2329B #C74ABF #D579D0 #E4A7E0

Accessibility & contrast

On white

4.07
#C74ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C74ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74ABF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74ABF#FFFFFF#000000##000000
##C74ABF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#CE577E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74abf;
/* rgb */ color: rgb(199, 74, 191);
/* oklch */ color: oklch(61.9% 0.207 330.4);
Tailwind
colors: {
  custom: {
    50: '#db85d2',
    500: '#c74abf',
    950: '#000000',
  },
}
SCSS
$custom: #c74abf;
$custom-light: #db85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74abf",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 303.84,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.20709,
    "h": 330.4
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#C74ABF
secondary
#9CD19F
accent
#DC554C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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