#CA74C8#CA74C8

#CA74C8 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.2% C 0.152 H 327.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CA74C8
RGBrgb(202, 116, 200)
HSLhsl(301, 45%, 62%)
HSVhsv(301, 43%, 79%)
CMYKcmyk(0%, 42.6%, 1%, 20.8%)
CIE-LABlab(60.97, 46.09, -29.51)
CIE-LCHlch(60.97, 54.73, 327.36°)
OKLaboklab(68.23% 0.1285 -0.0805)
OKLCHoklch(68.23% 0.152 327.9)
XYZxyz(41.0271, 29.2195, 58.1113)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74C8 #74CA76
analogous
#A174CA #CA74C8 #CA749D
triadic
#CA74C8 #C8CA74 #74C8CA
tetradic
#CA74C8 #CAA174 #74CA76 #749DCA
square
#CA74C8 #CAA174 #74CA76 #749DCA
split-complementary
#CA74C8 #9DCA74 #74CAA1
monochromatic
#8E368C #B948B6 #CA74C8 #DBA0DA #ECCDEB

Accessibility & contrast

On white

3.07
#CA74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CA74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74C8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74C8#FFFFFF#000000##000000
##CA74C81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCB
Deuteranopia (green-blind)
#8597C5
Tritanopia (blue-blind)
#CF7C95
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca74c8;
/* rgb */ color: rgb(202, 116, 200);
/* oklch */ color: oklch(68.2% 0.152 327.9);
Tailwind
colors: {
  custom: {
    50: '#dc9ed9',
    500: '#ca74c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca74c8;
$custom-light: #dc9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74c8",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 301.395,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68233,
    "c": 0.15161,
    "h": 327.9
  },
  "luminance": 0.29217
}

Semantic roles & 50–950 ramp

primary
#CA74C8
secondary
#BDDDBE
accent
#B8312E
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150F14
muted
#837E83

Preview Lab

Preview with #CA74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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