#CA74BD#CA74BD

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

Color values

HEX#CA74BD
RGBrgb(202, 116, 189)
HSLhsl(309, 45%, 62%)
HSVhsv(309, 43%, 79%)
CMYKcmyk(0%, 42.6%, 6.4%, 20.8%)
CIE-LABlab(60.54, 44.13, -23.95)
CIE-LCHlch(60.54, 50.21, 331.51°)
OKLaboklab(67.76% 0.126 -0.0648)
OKLCHoklch(67.76% 0.142 332.8)
XYZxyz(39.7876, 28.7237, 51.5828)
Luminance0.2872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74BD #74CA81
analogous
#AC74CA #CA74BD #CA7492
triadic
#CA74BD #BDCA74 #74BDCA
tetradic
#CA74BD #CAAC74 #74CA81 #7492CA
square
#CA74BD #CAAC74 #74CA81 #7492CA
split-complementary
#CA74BD #92CA74 #74CAAC
monochromatic
#8E3680 #B948A8 #CA74BD #DBA0D2 #ECCDE7

Accessibility & contrast

On white

3.11
#CA74BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA74BD#FFFFFF#000000##000000
##CA74BD1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#728AC0
Deuteranopia (green-blind)
#8996BA
Tritanopia (blue-blind)
#D17990
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca74bd;
/* rgb */ color: rgb(202, 116, 189);
/* oklch */ color: oklch(67.8% 0.142 332.8);
Tailwind
colors: {
  custom: {
    50: '#dc9ed1',
    500: '#ca74bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca74bd;
$custom-light: #dc9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74bd",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 309.07,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.14166,
    "h": 332.8
  },
  "luminance": 0.28721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA74BD

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

Preview Lab → · Contrast checker → · Palette generator →

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