#CA74EB#CA74EB

#CA74EB is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.187 H 315.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CA74EB
RGBrgb(202, 116, 235)
HSLhsl(283, 75%, 69%)
HSVhsv(283, 51%, 92%)
CMYKcmyk(14%, 50.6%, 0%, 7.8%)
CIE-LABlab(62.55, 52.84, -46.66)
CIE-LCHlch(62.55, 70.50, 318.55°)
OKLaboklab(69.92% 0.134 -0.1298)
OKLCHoklch(69.92% 0.187 315.9)
XYZxyz(45.5956, 31.0469, 82.1720)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74EB #95EB74
analogous
#8F74EB #CA74EB #EB74D1
triadic
#CA74EB #EBCA74 #74EBCA
tetradic
#CA74EB #EB8F74 #95EB74 #74D1EB
square
#CA74EB #EB8F74 #95EB74 #74D1EB
split-complementary
#CA74EB #D1EB74 #74EB8F
monochromatic
#981DC8 #B63EE3 #CA74EB #DEAAF3 #F3DFFA

Accessibility & contrast

On white

2.91
#CA74EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CA74EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74EB#FFFFFF#000000##000000
##CA74EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#C886A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74eb;
/* rgb */ color: rgb(202, 116, 235);
/* oklch */ color: oklch(69.9% 0.187 315.9);
Tailwind
colors: {
  custom: {
    50: '#dc9ff2',
    500: '#ca74eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca74eb;
$custom-light: #dc9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74eb",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 283.361,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69916,
    "c": 0.18656,
    "h": 315.9
  },
  "luminance": 0.31045
}

Semantic roles & 50–950 ramp

primary
#CA74EB
secondary
#D6EFCC
accent
#D70F46
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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