#CA79FC#CA79FC

#CA79FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.197 H 310.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CA79FC
RGBrgb(202, 121, 252)
HSLhsl(277, 96%, 73%)
HSVhsv(277, 52%, 99%)
CMYKcmyk(19.8%, 52%, 0%, 1.2%)
CIE-LABlab(64.37, 53.84, -53.16)
CIE-LCHlch(64.37, 75.66, 315.36°)
OKLaboklab(71.54% 0.129 -0.1488)
OKLCHoklch(71.54% 0.197 310.9)
XYZxyz(48.7620, 33.2605, 95.9278)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79FC #ABFC79
analogous
#8879FC #CA79FC #FC79ED
triadic
#CA79FC #FCCA79 #79FCCA
tetradic
#CA79FC #FC8879 #ABFC79 #79EDFC
square
#CA79FC #FC8879 #ABFC79 #79EDFC
split-complementary
#CA79FC #EDFC79 #79FC88
monochromatic
#9A05F5 #B23DFB #CA79FC #E2B5FD #F3E1FE

Accessibility & contrast

On white

2.74
#CA79FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CA79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79FC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79FC#FFFFFF#000000##000000
##CA79FC1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#C48FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca79fc;
/* rgb */ color: rgb(202, 121, 252);
/* oklch */ color: oklch(71.5% 0.197 310.9);
Tailwind
colors: {
  custom: {
    50: '#dda2fe',
    500: '#ca79fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca79fc;
$custom-light: #dda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79fc",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 277.099,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.19687,
    "h": 310.9
  },
  "luminance": 0.3326
}

Semantic roles & 50–950 ramp

primary
#CA79FC
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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