#CA79F2#CA79F2

#CA79F2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.186 H 313.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CA79F2
RGBrgb(202, 121, 242)
HSLhsl(280, 82%, 71%)
HSVhsv(280, 50%, 95%)
CMYKcmyk(16.5%, 50%, 0%, 5.1%)
CIE-LABlab(63.87, 51.73, -48.45)
CIE-LCHlch(63.87, 70.87, 316.88°)
OKLaboklab(71.01% 0.128 -0.135)
OKLCHoklch(71.01% 0.186 313.5)
XYZxyz(47.2188, 32.6433, 87.8006)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79F2 #A1F279
analogous
#8D79F2 #CA79F2 #F279DE
triadic
#CA79F2 #F2CA79 #79F2CA
tetradic
#CA79F2 #F28D79 #A1F279 #79DEF2
square
#CA79F2 #F28D79 #A1F279 #79DEF2
split-complementary
#CA79F2 #DEF279 #79F28D
monochromatic
#9A15DB #B441ED #CA79F2 #E0B1F7 #F4E3FC

Accessibility & contrast

On white

2.79
#CA79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CA79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79F2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79F2#FFFFFF#000000##000000
##CA79F21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#C78CAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca79f2;
/* rgb */ color: rgb(202, 121, 242);
/* oklch */ color: oklch(71.0% 0.186 313.5);
Tailwind
colors: {
  custom: {
    50: '#dca2f7',
    500: '#ca79f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca79f2;
$custom-light: #dca2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79f2",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 280.165,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71007,
    "c": 0.1861,
    "h": 313.5
  },
  "luminance": 0.32642
}

Semantic roles & 50–950 ramp

primary
#CA79F2
secondary
#DEF3D3
accent
#DF074E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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