#C579F9#C579F9

#C579F9 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.8% C 0.192 H 309.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#C579F9
RGBrgb(197, 121, 249)
HSLhsl(276, 91%, 73%)
HSVhsv(276, 51%, 98%)
CMYKcmyk(20.9%, 51.4%, 0%, 2.4%)
CIE-LABlab(63.66, 51.91, -52.67)
CIE-LCHlch(63.66, 73.95, 314.58°)
OKLaboklab(70.84% 0.1228 -0.1475)
OKLCHoklch(70.84% 0.192 309.8)
XYZxyz(46.9590, 32.3854, 93.3814)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C579F9 #ADF979
analogous
#8579F9 #C579F9 #F979ED
triadic
#C579F9 #F9C579 #79F9C5
tetradic
#C579F9 #F98579 #ADF979 #79EDF9
square
#C579F9 #F98579 #ADF979 #79EDF9
split-complementary
#C579F9 #EDF979 #79F985
monochromatic
#910BED #AC3EF6 #C579F9 #DEB4FC #F2E2FE

Accessibility & contrast

On white

2.81
#C579F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#C579F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C579F9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C579F9#FFFFFF#000000##000000
##C579F91.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#BE8FAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c579f9;
/* rgb */ color: rgb(197, 121, 249);
/* oklch */ color: oklch(70.8% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#d9a2fc',
    500: '#c579f9',
    950: '#000000',
  },
}
SCSS
$custom: #c579f9;
$custom-light: #d9a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c579f9",
  "rgb": {
    "r": 197,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 275.625,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.19187,
    "h": 309.8
  },
  "luminance": 0.32385
}

Semantic roles & 50–950 ramp

primary
#C579F9
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C579F9

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

Preview Lab → · Contrast checker → · Palette generator →

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