#CA74EF#CA74EF

#CA74EF is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.1% C 0.191 H 314.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA74EF
RGBrgb(202, 116, 239)
HSLhsl(282, 79%, 70%)
HSVhsv(282, 51%, 94%)
CMYKcmyk(15.5%, 51.5%, 0%, 6.3%)
CIE-LABlab(62.74, 53.66, -48.57)
CIE-LCHlch(62.74, 72.38, 317.85°)
OKLaboklab(70.13% 0.1344 -0.1354)
OKLCHoklch(70.13% 0.191 314.8)
XYZxyz(46.1800, 31.2806, 85.2497)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74EF #99EF74
analogous
#8D74EF #CA74EF #EF74D7
triadic
#CA74EF #EFCA74 #74EFCA
tetradic
#CA74EF #EF8D74 #99EF74 #74D7EF
square
#CA74EF #EF8D74 #99EF74 #74D7EF
split-complementary
#CA74EF #D7EF74 #74EF8D
monochromatic
#9918D1 #B53DE9 #CA74EF #DFABF5 #F4E2FC

Accessibility & contrast

On white

2.89
#CA74EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CA74EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74EF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74EF#FFFFFF#000000##000000
##CA74EF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#C787A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca74ef;
/* rgb */ color: rgb(202, 116, 239);
/* oklch */ color: oklch(70.1% 0.191 314.8);
Tailwind
colors: {
  custom: {
    50: '#dc9ff5',
    500: '#ca74ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ef;
$custom-light: #dc9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ef",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 281.951,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.19074,
    "h": 314.8
  },
  "luminance": 0.31279
}

Semantic roles & 50–950 ramp

primary
#CA74EF
secondary
#D8F1CE
accent
#DC0A49
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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