#CA79F9#CA79F9

#CA79F9 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.194 H 311.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CA79F9
RGBrgb(202, 121, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.9%, 51.4%, 0%, 2.4%)
CIE-LABlab(64.22, 53.20, -51.75)
CIE-LCHlch(64.22, 74.22, 315.79°)
OKLaboklab(71.38% 0.1287 -0.1447)
OKLCHoklch(71.38% 0.194 311.7)
XYZxyz(48.2903, 33.0719, 93.4438)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79F9 #A8F979
analogous
#8A79F9 #CA79F9 #F979E8
triadic
#CA79F9 #F9CA79 #79F9CA
tetradic
#CA79F9 #F98A79 #A8F979 #79E8F9
square
#CA79F9 #F98A79 #A8F979 #79E8F9
split-complementary
#CA79F9 #E8F979 #79F98A
monochromatic
#9A0BED #B33EF6 #CA79F9 #E1B4FC #F3E2FE

Accessibility & contrast

On white

2.76
#CA79F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CA79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79F9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79F9#FFFFFF#000000##000000
##CA79F91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#C58EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca79f9;
/* rgb */ color: rgb(202, 121, 249);
/* oklch */ color: oklch(71.4% 0.194 311.7);
Tailwind
colors: {
  custom: {
    50: '#dda2fc',
    500: '#ca79f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca79f9;
$custom-light: #dda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79f9",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 277.969,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71377,
    "c": 0.19363,
    "h": 311.7
  },
  "luminance": 0.33071
}

Semantic roles & 50–950 ramp

primary
#CA79F9
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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