#C578F9#C578F9

#C578F9 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.193 H 309.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C578F9
RGBrgb(197, 120, 249)
HSLhsl(276, 91%, 72%)
HSVhsv(276, 52%, 98%)
CMYKcmyk(20.9%, 51.8%, 0%, 2.4%)
CIE-LABlab(63.46, 52.43, -52.99)
CIE-LCHlch(63.46, 74.54, 314.69°)
OKLaboklab(70.69% 0.1241 -0.1484)
OKLCHoklch(70.69% 0.193 309.9)
XYZxyz(46.8381, 32.1436, 93.3411)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C578F9 #ACF978
analogous
#8578F9 #C578F9 #F978EC
triadic
#C578F9 #F9C578 #78F9C5
tetradic
#C578F9 #F98578 #ACF978 #78ECF9
square
#C578F9 #F98578 #ACF978 #78ECF9
split-complementary
#C578F9 #ECF978 #78F985
monochromatic
#910AEC #AC3DF6 #C578F9 #DEB3FC #F2E2FE

Accessibility & contrast

On white

2.83
#C578F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C578F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C578F9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C578F9#FFFFFF#000000##000000
##C578F91.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#BE8EAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c578f9;
/* rgb */ color: rgb(197, 120, 249);
/* oklch */ color: oklch(70.7% 0.193 309.9);
Tailwind
colors: {
  custom: {
    50: '#d9a1fc',
    500: '#c578f9',
    950: '#000000',
  },
}
SCSS
$custom: #c578f9;
$custom-light: #d9a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c578f9",
  "rgb": {
    "r": 197,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 275.814,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70694,
    "c": 0.19341,
    "h": 309.9
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C578F9

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

Preview Lab → · Contrast checker → · Palette generator →

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