#C579FE#C579FE

#C579FE is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.197 H 308.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C579FE
RGBrgb(197, 121, 254)
HSLhsl(274, 99%, 74%)
HSVhsv(274, 52%, 100%)
CMYKcmyk(22.4%, 52.4%, 0%, 0.4%)
CIE-LABlab(63.92, 53.00, -55.01)
CIE-LCHlch(63.92, 76.39, 313.93°)
OKLaboklab(71.11% 0.1231 -0.1543)
OKLCHoklch(71.11% 0.197 308.6)
XYZxyz(47.7492, 32.7015, 97.5433)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C579FE #B2FE79
analogous
#8279FE #C579FE #FE79F4
triadic
#C579FE #FEC579 #79FEC5
tetradic
#C579FE #FE8279 #B2FE79 #79F4FE
square
#C579FE #FE8279 #B2FE79 #79F4FE
split-complementary
#C579FE #F4FE79 #79FE82
monochromatic
#9002FB #AB3CFE #C579FE #DFB6FE #F2E1FF

Accessibility & contrast

On white

2.79
#C579FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C579FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C579FE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C579FE#FFFFFF#000000##000000
##C579FE1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#BD90B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c579fe;
/* rgb */ color: rgb(197, 121, 254);
/* oklch */ color: oklch(71.1% 0.197 308.6);
Tailwind
colors: {
  custom: {
    50: '#d9a2ff',
    500: '#c579fe',
    950: '#000000',
  },
}
SCSS
$custom: #c579fe;
$custom-light: #d9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c579fe",
  "rgb": {
    "r": 197,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 274.286,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.1974,
    "h": 308.6
  },
  "luminance": 0.32701
}

Semantic roles & 50–950 ramp

primary
#C579FE
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C579FE

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

Preview Lab → · Contrast checker → · Palette generator →

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