#CA79EB#CA79EB

#CA79EB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.179 H 315.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA79EB
RGBrgb(202, 121, 235)
HSLhsl(283, 74%, 70%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(14%, 48.5%, 0%, 7.8%)
CIE-LABlab(63.53, 50.28, -45.11)
CIE-LCHlch(63.53, 67.55, 318.10°)
OKLaboklab(70.65% 0.1272 -0.1254)
OKLCHoklch(70.65% 0.179 315.4)
XYZxyz(46.1876, 32.2308, 82.3693)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79EB #9AEB79
analogous
#9179EB #CA79EB #EB79D3
triadic
#CA79EB #EBCA79 #79EBCA
tetradic
#CA79EB #EB9179 #9AEB79 #79D3EB
square
#CA79EB #EB9179 #9AEB79 #79D3EB
split-complementary
#CA79EB #D3EB79 #79EB91
monochromatic
#991ECB #B544E3 #CA79EB #DFAEF3 #F4E4FB

Accessibility & contrast

On white

2.82
#CA79EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CA79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79EB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79EB#FFFFFF#000000##000000
##CA79EB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#C88AA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca79eb;
/* rgb */ color: rgb(202, 121, 235);
/* oklch */ color: oklch(70.6% 0.179 315.4);
Tailwind
colors: {
  custom: {
    50: '#dca2f2',
    500: '#ca79eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca79eb;
$custom-light: #dca2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79eb",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 282.632,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70646,
    "c": 0.17861,
    "h": 315.4
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#CA79EB
secondary
#D9F0D0
accent
#D60F49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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