#C573F8#C573F8

#C573F8 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.9% C 0.200 H 310.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C573F8
RGBrgb(197, 115, 248)
HSLhsl(277, 90%, 71%)
HSVhsv(277, 54%, 97%)
CMYKcmyk(20.6%, 53.6%, 0%, 2.7%)
CIE-LABlab(62.43, 54.77, -54.07)
CIE-LCHlch(62.43, 76.97, 315.37°)
OKLaboklab(69.92% 0.1304 -0.1515)
OKLCHoklch(69.92% 0.2 310.7)
XYZxyz(46.0968, 30.9100, 92.3266)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C573F8 #A6F873
analogous
#8273F8 #C573F8 #F873E9
triadic
#C573F8 #F8C573 #73F8C5
tetradic
#C573F8 #F88273 #A6F873 #73E9F8
square
#C573F8 #F88273 #A6F873 #73E9F8
split-complementary
#C573F8 #E9F873 #73F882
monochromatic
#920BE5 #AD39F5 #C573F8 #DDADFB #F3E2FE

Accessibility & contrast

On white

2.92
#C573F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C573F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C573F8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C573F8#FFFFFF#000000##000000
##C573F81.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#6898F5
Tritanopia (blue-blind)
#BF8AAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c573f8;
/* rgb */ color: rgb(197, 115, 248);
/* oklch */ color: oklch(69.9% 0.200 310.7);
Tailwind
colors: {
  custom: {
    50: '#d99efb',
    500: '#c573f8',
    950: '#000000',
  },
}
SCSS
$custom: #c573f8;
$custom-light: #d99efb;
$custom-dark: #000000;
JSON
{
  "hex": "#c573f8",
  "rgb": {
    "r": 197,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 276.992,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69918,
    "c": 0.19993,
    "h": 310.7
  },
  "luminance": 0.30909
}

Semantic roles & 50–950 ramp

primary
#C573F8
secondary
#DFF5D2
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C573F8

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

Preview Lab → · Contrast checker → · Palette generator →

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