#CA74CF#CA74CF

#CA74CF is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.5% C 0.158 H 325.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CA74CF
RGBrgb(202, 116, 207)
HSLhsl(297, 49%, 63%)
HSVhsv(297, 44%, 81%)
CMYKcmyk(2.4%, 44%, 0%, 18.8%)
CIE-LABlab(61.27, 47.38, -33.01)
CIE-LCHlch(61.27, 57.74, 325.13°)
OKLaboklab(68.55% 0.1298 -0.0905)
OKLCHoklch(68.55% 0.158 325.1)
XYZxyz(41.8640, 29.5542, 62.5188)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74CF #79CF74
analogous
#9C74CF #CA74CF #CF74A6
triadic
#CA74CF #CFCA74 #74CFCA
tetradic
#CA74CF #CF9C74 #79CF74 #74A6CF
square
#CA74CF #CF9C74 #79CF74 #74A6CF
split-complementary
#CA74CF #A6CF74 #74CF9C
monochromatic
#903395 #B947BF #CA74CF #DBA1DF #EDCFEE

Accessibility & contrast

On white

3.04
#CA74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CA74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74CF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74CF#FFFFFF#000000##000000
##CA74CF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD2
Deuteranopia (green-blind)
#8298CC
Tritanopia (blue-blind)
#CE7E98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca74cf;
/* rgb */ color: rgb(202, 116, 207);
/* oklch */ color: oklch(68.5% 0.158 325.1);
Tailwind
colors: {
  custom: {
    50: '#dc9ede',
    500: '#ca74cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca74cf;
$custom-light: #dc9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74cf",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 296.703,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68548,
    "c": 0.15827,
    "h": 325.1
  },
  "luminance": 0.29552
}

Semantic roles & 50–950 ramp

primary
#CA74CF
secondary
#C1E0BF
accent
#BC2A32
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CA74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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