#CA74F2#CA74F2

#CA74F2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.194 H 314.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CA74F2
RGBrgb(202, 116, 242)
HSLhsl(281, 83%, 70%)
HSVhsv(281, 52%, 95%)
CMYKcmyk(16.5%, 52.1%, 0%, 5.1%)
CIE-LABlab(62.89, 54.28, -49.99)
CIE-LCHlch(62.89, 73.79, 317.35°)
OKLaboklab(70.28% 0.1346 -0.1395)
OKLCHoklch(70.28% 0.194 314)
XYZxyz(46.6269, 31.4594, 87.6033)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74F2 #9CF274
analogous
#8B74F2 #CA74F2 #F274DB
triadic
#CA74F2 #F2CA74 #74F2CA
tetradic
#CA74F2 #F28B74 #9CF274 #74DBF2
square
#CA74F2 #F28B74 #9CF274 #74DBF2
split-complementary
#CA74F2 #DBF274 #74F28B
monochromatic
#9914D7 #B53CED #CA74F2 #DFACF7 #F4E3FC

Accessibility & contrast

On white

2.88
#CA74F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CA74F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74F2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74F2#FFFFFF#000000##000000
##CA74F21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#C788A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca74f2;
/* rgb */ color: rgb(202, 116, 242);
/* oklch */ color: oklch(70.3% 0.194 314.0);
Tailwind
colors: {
  custom: {
    50: '#dd9ff7',
    500: '#ca74f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca74f2;
$custom-light: #dd9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74f2",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 280.952,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70284,
    "c": 0.19389,
    "h": 314
  },
  "luminance": 0.31458
}

Semantic roles & 50–950 ramp

primary
#CA74F2
secondary
#DBF2CF
accent
#DF064B
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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