#CA79EF#CA79EF

#CA79EF is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.183 H 314.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CA79EF
RGBrgb(202, 121, 239)
HSLhsl(281, 79%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.5%, 49.4%, 0%, 6.3%)
CIE-LABlab(63.72, 51.11, -47.02)
CIE-LCHlch(63.72, 69.45, 317.38°)
OKLaboklab(70.85% 0.1277 -0.1309)
OKLCHoklch(70.85% 0.183 314.3)
XYZxyz(46.7720, 32.4645, 85.4471)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79EF #9EEF79
analogous
#8F79EF #CA79EF #EF79D9
triadic
#CA79EF #EFCA79 #79EFCA
tetradic
#CA79EF #EF8F79 #9EEF79 #79D9EF
square
#CA79EF #EF8F79 #9EEF79 #79D9EF
split-complementary
#CA79EF #D9EF79 #79EF8F
monochromatic
#9A19D4 #B442E8 #CA79EF #E0B0F6 #F4E4FC

Accessibility & contrast

On white

2.80
#CA79EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CA79EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79EF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79EF#FFFFFF#000000##000000
##CA79EF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#C78BA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca79ef;
/* rgb */ color: rgb(202, 121, 239);
/* oklch */ color: oklch(70.9% 0.183 314.3);
Tailwind
colors: {
  custom: {
    50: '#dca2f5',
    500: '#ca79ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca79ef;
$custom-light: #dca2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79ef",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 281.186,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70851,
    "c": 0.18289,
    "h": 314.3
  },
  "luminance": 0.32463
}

Semantic roles & 50–950 ramp

primary
#CA79EF
secondary
#DCF2D2
accent
#DB0B4C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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