#CA79FD#CA79FD

#CA79FD is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.6% C 0.198 H 310.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CA79FD
RGBrgb(202, 121, 253)
HSLhsl(277, 97%, 73%)
HSVhsv(277, 52%, 99%)
CMYKcmyk(20.2%, 52.2%, 0%, 0.8%)
CIE-LABlab(64.42, 54.05, -53.63)
CIE-LCHlch(64.42, 76.14, 315.23°)
OKLaboklab(71.59% 0.129 -0.1501)
OKLCHoklch(71.59% 0.198 310.7)
XYZxyz(48.9209, 33.3241, 96.7645)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79FD #ACFD79
analogous
#8879FD #CA79FD #FD79EE
triadic
#CA79FD #FDCA79 #79FDCA
tetradic
#CA79FD #FD8879 #ACFD79 #79EEFD
square
#CA79FD #FD8879 #ACFD79 #79EEFD
split-complementary
#CA79FD #EEFD79 #79FD88
monochromatic
#9A04F8 #B23DFC #CA79FD #E2B5FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.66
#CA79FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79FD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79FD#FFFFFF#000000##000000
##CA79FD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca79fd;
/* rgb */ color: rgb(202, 121, 253);
/* oklch */ color: oklch(71.6% 0.198 310.7);
Tailwind
colors: {
  custom: {
    50: '#dda2fe',
    500: '#ca79fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca79fd;
$custom-light: #dda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79fd",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 276.818,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71594,
    "c": 0.19795,
    "h": 310.7
  },
  "luminance": 0.33323
}

Semantic roles & 50–950 ramp

primary
#CA79FD
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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