#CA79F4#CA79F4

#CA79F4 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.1% C 0.188 H 312.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CA79F4
RGBrgb(202, 121, 244)
HSLhsl(280, 85%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(17.2%, 50.4%, 0%, 4.3%)
CIE-LABlab(63.97, 52.15, -49.39)
CIE-LCHlch(63.97, 71.83, 316.55°)
OKLaboklab(71.11% 0.1282 -0.1378)
OKLCHoklch(71.11% 0.188 312.9)
XYZxyz(47.5208, 32.7641, 89.3912)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79F4 #A3F479
analogous
#8D79F4 #CA79F4 #F479E1
triadic
#CA79F4 #F4CA79 #79F4CA
tetradic
#CA79F4 #F48D79 #A3F479 #79E1F4
square
#CA79F4 #F48D79 #A3F479 #79E1F4
split-complementary
#CA79F4 #E1F479 #79F48D
monochromatic
#9A12E0 #B440EF #CA79F4 #E0B2F9 #F4E3FD

Accessibility & contrast

On white

2.78
#CA79F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CA79F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79F4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79F4#FFFFFF#000000##000000
##CA79F41.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F8
Deuteranopia (green-blind)
#749DF1
Tritanopia (blue-blind)
#C68DAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca79f4;
/* rgb */ color: rgb(202, 121, 244);
/* oklch */ color: oklch(71.1% 0.188 312.9);
Tailwind
colors: {
  custom: {
    50: '#dca2f8',
    500: '#ca79f4',
    950: '#000000',
  },
}
SCSS
$custom: #ca79f4;
$custom-light: #dca2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79f4",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 279.512,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.18824,
    "h": 312.9
  },
  "luminance": 0.32763
}

Semantic roles & 50–950 ramp

primary
#CA79F4
secondary
#DFF4D5
accent
#E10450
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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