#C579F8#C579F8

#C579F8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.191 H 310.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C579F8
RGBrgb(197, 121, 248)
HSLhsl(276, 90%, 72%)
HSVhsv(276, 51%, 97%)
CMYKcmyk(20.6%, 51.2%, 0%, 2.7%)
CIE-LABlab(63.61, 51.69, -52.20)
CIE-LCHlch(63.61, 73.47, 314.72°)
OKLaboklab(70.79% 0.1227 -0.1461)
OKLCHoklch(70.79% 0.191 310)
XYZxyz(46.8034, 32.3232, 92.5622)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C579F8 #ACF879
analogous
#8679F8 #C579F8 #F879EB
triadic
#C579F8 #F8C579 #79F8C5
tetradic
#C579F8 #F88679 #ACF879 #79EBF8
square
#C579F8 #F88679 #ACF879 #79EBF8
split-complementary
#C579F8 #EBF879 #79F886
monochromatic
#910CEA #AC3FF5 #C579F8 #DEB3FB #F2E2FD

Accessibility & contrast

On white

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

On black

7.46
#C579F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C579F8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C579F8#FFFFFF#000000##000000
##C579F81.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#BF8FAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c579f8;
/* rgb */ color: rgb(197, 121, 248);
/* oklch */ color: oklch(70.8% 0.191 310.0);
Tailwind
colors: {
  custom: {
    50: '#d9a2fb',
    500: '#c579f8',
    950: '#000000',
  },
}
SCSS
$custom: #c579f8;
$custom-light: #d9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c579f8",
  "rgb": {
    "r": 197,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 275.906,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.19077,
    "h": 310
  },
  "luminance": 0.32322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C579F8

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

Preview Lab → · Contrast checker → · Palette generator →

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