#CA79E4#CA79E4

#CA79E4 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.171 H 317.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CA79E4
RGBrgb(202, 121, 228)
HSLhsl(285, 66%, 68%)
HSVhsv(285, 47%, 89%)
CMYKcmyk(11.4%, 46.9%, 0%, 10.6%)
CIE-LABlab(63.21, 48.86, -41.74)
CIE-LCHlch(63.21, 64.26, 319.49°)
OKLaboklab(70.3% 0.1263 -0.1156)
OKLCHoklch(70.3% 0.171 317.5)
XYZxyz(45.1961, 31.8342, 77.1476)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79E4 #93E479
analogous
#9479E4 #CA79E4 #E479C8
triadic
#CA79E4 #E4CA79 #79E4CA
tetradic
#CA79E4 #E49479 #93E479 #79C8E4
square
#CA79E4 #E49479 #93E479 #79C8E4
split-complementary
#CA79E4 #C8E479 #79E494
monochromatic
#9826BD #B646DA #CA79E4 #DEACEE #F2DFF9

Accessibility & contrast

On white

2.85
#CA79E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CA79E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79E4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79E4#FFFFFF#000000##000000
##CA79E41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#7D9CE1
Tritanopia (blue-blind)
#CA88A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca79e4;
/* rgb */ color: rgb(202, 121, 228);
/* oklch */ color: oklch(70.3% 0.171 317.5);
Tailwind
colors: {
  custom: {
    50: '#dca2ed',
    500: '#ca79e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca79e4;
$custom-light: #dca2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79e4",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 285.421,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.17122,
    "h": 317.5
  },
  "luminance": 0.31833
}

Semantic roles & 50–950 ramp

primary
#CA79E4
secondary
#D4ECCC
accent
#CE1744
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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