#CA79F0#CA79F0

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

Color values

HEX#CA79F0
RGBrgb(202, 121, 240)
HSLhsl(281, 80%, 71%)
HSVhsv(281, 50%, 94%)
CMYKcmyk(15.8%, 49.6%, 0%, 5.9%)
CIE-LABlab(63.77, 51.31, -47.50)
CIE-LCHlch(63.77, 69.92, 317.21°)
OKLaboklab(70.9% 0.1278 -0.1323)
OKLCHoklch(70.9% 0.184 314)
XYZxyz(46.9201, 32.5238, 86.2272)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79F0 #9FF079
analogous
#8E79F0 #CA79F0 #F079DB
triadic
#CA79F0 #F0CA79 #79F0CA
tetradic
#CA79F0 #F08E79 #9FF079 #79DBF0
square
#CA79F0 #F08E79 #9FF079 #79DBF0
split-complementary
#CA79F0 #DBF079 #79F08E
monochromatic
#9A18D7 #B442EA #CA79F0 #E0B0F6 #F4E3FC

Accessibility & contrast

On white

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

On black

7.50
#CA79F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79F0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79F0#FFFFFF#000000##000000
##CA79F01.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F4
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#C78CAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca79f0;
/* rgb */ color: rgb(202, 121, 240);
/* oklch */ color: oklch(70.9% 0.184 314.0);
Tailwind
colors: {
  custom: {
    50: '#dca2f5',
    500: '#ca79f0',
    950: '#000000',
  },
}
SCSS
$custom: #ca79f0;
$custom-light: #dca2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79f0",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 280.84,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.18395,
    "h": 314
  },
  "luminance": 0.32523
}

Semantic roles & 50–950 ramp

primary
#CA79F0
secondary
#DDF2D2
accent
#DC094D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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