#CA79F7#CA79F7

#CA79F7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.191 H 312.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CA79F7
RGBrgb(202, 121, 247)
HSLhsl(279, 89%, 72%)
HSVhsv(279, 51%, 97%)
CMYKcmyk(18.2%, 51%, 0%, 3.1%)
CIE-LABlab(64.12, 52.78, -50.81)
CIE-LCHlch(64.12, 73.26, 316.09°)
OKLaboklab(71.27% 0.1285 -0.1419)
OKLCHoklch(71.27% 0.191 312.2)
XYZxyz(47.9801, 32.9478, 91.8097)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79F7 #A6F779
analogous
#8B79F7 #CA79F7 #F779E5
triadic
#CA79F7 #F7CA79 #79F7CA
tetradic
#CA79F7 #F78B79 #A6F779 #79E5F7
square
#CA79F7 #F78B79 #A6F779 #79E5F7
split-complementary
#CA79F7 #E5F779 #79F78B
monochromatic
#9A0EE8 #B33FF4 #CA79F7 #E1B3FA #F4E2FD

Accessibility & contrast

On white

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

On black

7.59
#CA79F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79F7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79F7#FFFFFF#000000##000000
##CA79F71.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#C58EAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca79f7;
/* rgb */ color: rgb(202, 121, 247);
/* oklch */ color: oklch(71.3% 0.191 312.2);
Tailwind
colors: {
  custom: {
    50: '#dda2fa',
    500: '#ca79f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca79f7;
$custom-light: #dda2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79f7",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 278.571,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71271,
    "c": 0.19147,
    "h": 312.2
  },
  "luminance": 0.32947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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