#CA74BC#CA74BC

#CA74BC is a light, vivid purple. Relative luminance 0.287; OKLCH L 67.7% C 0.141 H 333.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CA74BC
RGBrgb(202, 116, 188)
HSLhsl(310, 45%, 62%)
HSVhsv(310, 43%, 79%)
CMYKcmyk(0%, 42.6%, 6.9%, 20.8%)
CIE-LABlab(60.50, 43.96, -23.44)
CIE-LCHlch(60.50, 49.82, 331.93°)
OKLaboklab(67.72% 0.1257 -0.0634)
OKLCHoklch(67.72% 0.141 333.2)
XYZxyz(39.6794, 28.6804, 51.0131)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74BC #74CA82
analogous
#AD74CA #CA74BC #CA7491
triadic
#CA74BC #BCCA74 #74BCCA
tetradic
#CA74BC #CAAD74 #74CA82 #7491CA
square
#CA74BC #CAAD74 #74CA82 #7491CA
split-complementary
#CA74BC #91CA74 #74CAAD
monochromatic
#8E367F #B948A7 #CA74BC #DBA0D1 #ECCDE7

Accessibility & contrast

On white

3.12
#CA74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CA74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74BC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74BC#FFFFFF#000000##000000
##CA74BC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABF
Deuteranopia (green-blind)
#8A96B9
Tritanopia (blue-blind)
#D1798F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca74bc;
/* rgb */ color: rgb(202, 116, 188);
/* oklch */ color: oklch(67.7% 0.141 333.2);
Tailwind
colors: {
  custom: {
    50: '#dc9ed0',
    500: '#ca74bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca74bc;
$custom-light: #dc9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74bc",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 309.767,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.14079,
    "h": 333.2
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#CA74BC
secondary
#BDDDC2
accent
#B8442E
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CA74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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