#CA74BF#CA74BF

#CA74BF is a light, vivid purple. Relative luminance 0.288; OKLCH L 67.8% C 0.143 H 331.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CA74BF
RGBrgb(202, 116, 191)
HSLhsl(308, 45%, 62%)
HSVhsv(308, 43%, 79%)
CMYKcmyk(0%, 42.6%, 5.4%, 20.8%)
CIE-LABlab(60.61, 44.48, -24.97)
CIE-LCHlch(60.61, 51.01, 330.69°)
OKLaboklab(67.85% 0.1264 -0.0677)
OKLCHoklch(67.85% 0.143 331.8)
XYZxyz(40.0061, 28.8111, 52.7340)
Luminance0.2881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74BF #74CA7F
analogous
#AA74CA #CA74BF #CA7494
triadic
#CA74BF #BFCA74 #74BFCA
tetradic
#CA74BF #CAAA74 #74CA7F #7494CA
square
#CA74BF #CAAA74 #74CA7F #7494CA
split-complementary
#CA74BF #94CA74 #74CAAA
monochromatic
#8E3682 #B948AB #CA74BF #DBA0D3 #ECCDE8

Accessibility & contrast

On white

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

On black

6.76
#CA74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74BF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74BF#FFFFFF#000000##000000
##CA74BF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC2
Deuteranopia (green-blind)
#8997BC
Tritanopia (blue-blind)
#D17A91
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca74bf;
/* rgb */ color: rgb(202, 116, 191);
/* oklch */ color: oklch(67.8% 0.143 331.8);
Tailwind
colors: {
  custom: {
    50: '#dc9ed2',
    500: '#ca74bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca74bf;
$custom-light: #dc9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74bf",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 307.674,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.14341,
    "h": 331.8
  },
  "luminance": 0.28809
}

Semantic roles & 50–950 ramp

primary
#CA74BF
secondary
#BDDDC1
accent
#B83F2E
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150F14
muted
#837E82

Preview Lab

Preview with #CA74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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