#CA79FA#CA79FA

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

Color values

HEX#CA79FA
RGBrgb(202, 121, 250)
HSLhsl(278, 93%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(19.2%, 51.6%, 0%, 2%)
CIE-LABlab(64.27, 53.41, -52.22)
CIE-LCHlch(64.27, 74.70, 315.65°)
OKLaboklab(71.43% 0.1288 -0.146)
OKLCHoklch(71.43% 0.195 311.4)
XYZxyz(48.4467, 33.1344, 94.2674)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79FA #A9FA79
analogous
#8979FA #CA79FA #FA79EA
triadic
#CA79FA #FACA79 #79FACA
tetradic
#CA79FA #FA8979 #A9FA79 #79EAFA
square
#CA79FA #FA8979 #A9FA79 #79EAFA
split-complementary
#CA79FA #EAFA79 #79FA89
monochromatic
#9A09F0 #B33EF8 #CA79FA #E1B4FC #F3E2FE

Accessibility & contrast

On white

2.75
#CA79FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CA79FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79FA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79FA#FFFFFF#000000##000000
##CA79FA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#C58FAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca79fa;
/* rgb */ color: rgb(202, 121, 250);
/* oklch */ color: oklch(71.4% 0.195 311.4);
Tailwind
colors: {
  custom: {
    50: '#dda2fc',
    500: '#ca79fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca79fa;
$custom-light: #dda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79fa",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 277.674,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.19471,
    "h": 311.4
  },
  "luminance": 0.33133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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