#C578EF#C578EF

#C578EF is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.2% C 0.182 H 312.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C578EF
RGBrgb(197, 120, 239)
HSLhsl(279, 79%, 70%)
HSVhsv(279, 50%, 94%)
CMYKcmyk(17.6%, 49.8%, 0%, 6.3%)
CIE-LABlab(62.96, 50.28, -48.27)
CIE-LCHlch(62.96, 69.70, 316.17°)
OKLaboklab(70.16% 0.1231 -0.1346)
OKLCHoklch(70.16% 0.182 312.4)
XYZxyz(45.3197, 31.5363, 85.3443)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C578EF #A2EF78
analogous
#8A78EF #C578EF #EF78DD
triadic
#C578EF #EFC578 #78EFC5
tetradic
#C578EF #EF8A78 #A2EF78 #78DDEF
square
#C578EF #EF8A78 #A2EF78 #78DDEF
split-complementary
#C578EF #DDEF78 #78EF8A
monochromatic
#9219D4 #AD41E9 #C578EF #DDAFF5 #F3E4FC

Accessibility & contrast

On white

2.87
#C578EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#C578EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C578EF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C578EF#FFFFFF#000000##000000
##C578EF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#C18BA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c578ef;
/* rgb */ color: rgb(197, 120, 239);
/* oklch */ color: oklch(70.2% 0.182 312.4);
Tailwind
colors: {
  custom: {
    50: '#d9a1f5',
    500: '#c578ef',
    950: '#000000',
  },
}
SCSS
$custom: #c578ef;
$custom-light: #d9a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c578ef",
  "rgb": {
    "r": 197,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 278.824,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70157,
    "c": 0.18246,
    "h": 312.4
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#C578EF
secondary
#DDF2D1
accent
#DB0A54
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C578EF

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

Preview Lab → · Contrast checker → · Palette generator →

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