#CA79F6#CA79F6

#CA79F6 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.2% C 0.190 H 312.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CA79F6
RGBrgb(202, 121, 246)
HSLhsl(279, 87%, 72%)
HSVhsv(279, 51%, 96%)
CMYKcmyk(17.9%, 50.8%, 0%, 3.5%)
CIE-LABlab(64.07, 52.57, -50.34)
CIE-LCHlch(64.07, 72.78, 316.24°)
OKLaboklab(71.22% 0.1284 -0.1405)
OKLCHoklch(71.22% 0.19 312.4)
XYZxyz(47.8262, 32.8862, 90.9992)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79F6 #A5F679
analogous
#8C79F6 #CA79F6 #F679E4
triadic
#CA79F6 #F6CA79 #79F6CA
tetradic
#CA79F6 #F68C79 #A5F679 #79E4F6
square
#CA79F6 #F68C79 #A5F679 #79E4F6
split-complementary
#CA79F6 #E4F679 #79F68C
monochromatic
#9A0FE5 #B340F2 #CA79F6 #E1B2FA #F4E2FD

Accessibility & contrast

On white

2.77
#CA79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CA79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79F6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79F6#FFFFFF#000000##000000
##CA79F61.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C68DAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca79f6;
/* rgb */ color: rgb(202, 121, 246);
/* oklch */ color: oklch(71.2% 0.190 312.4);
Tailwind
colors: {
  custom: {
    50: '#dca2fa',
    500: '#ca79f6',
    950: '#000000',
  },
}
SCSS
$custom: #ca79f6;
$custom-light: #dca2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79f6",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 278.88,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71217,
    "c": 0.1904,
    "h": 312.4
  },
  "luminance": 0.32885
}

Semantic roles & 50–950 ramp

primary
#CA79F6
secondary
#E1F5D6
accent
#E40251
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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