#C574F8#C574F8

#C574F8 is a light, vivid violet. Relative luminance 0.311; OKLCH L 70.1% C 0.198 H 310.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C574F8
RGBrgb(197, 116, 248)
HSLhsl(277, 90%, 71%)
HSVhsv(277, 53%, 97%)
CMYKcmyk(20.6%, 53.2%, 0%, 2.7%)
CIE-LABlab(62.63, 54.26, -53.77)
CIE-LCHlch(62.63, 76.39, 315.26°)
OKLaboklab(70.06% 0.1291 -0.1506)
OKLCHoklch(70.06% 0.198 310.6)
XYZxyz(46.2115, 31.1393, 92.3648)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C574F8 #A7F874
analogous
#8374F8 #C574F8 #F874E9
triadic
#C574F8 #F8C574 #74F8C5
tetradic
#C574F8 #F88374 #A7F874 #74E9F8
square
#C574F8 #F88374 #A7F874 #74E9F8
split-complementary
#C574F8 #E9F874 #74F883
monochromatic
#920CE6 #AD3AF5 #C574F8 #DDAEFB #F3E2FE

Accessibility & contrast

On white

2.91
#C574F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C574F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C574F8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C574F8#FFFFFF#000000##000000
##C574F81.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#BF8BAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c574f8;
/* rgb */ color: rgb(197, 116, 248);
/* oklch */ color: oklch(70.1% 0.198 310.6);
Tailwind
colors: {
  custom: {
    50: '#d99ffb',
    500: '#c574f8',
    950: '#000000',
  },
}
SCSS
$custom: #c574f8;
$custom-light: #d99ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#c574f8",
  "rgb": {
    "r": 197,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 276.818,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.19842,
    "h": 310.6
  },
  "luminance": 0.31138
}

Semantic roles & 50–950 ramp

primary
#C574F8
secondary
#E0F5D3
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C574F8

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

Preview Lab → · Contrast checker → · Palette generator →

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