#C576F2#C576F2

#C576F2 is a light, vivid violet. Relative luminance 0.312; OKLCH L 70.0% C 0.189 H 311.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C576F2
RGBrgb(197, 118, 242)
HSLhsl(278, 83%, 71%)
HSVhsv(278, 51%, 95%)
CMYKcmyk(18.6%, 51.2%, 0%, 5.1%)
CIE-LABlab(62.71, 51.96, -50.32)
CIE-LCHlch(62.71, 72.33, 315.92°)
OKLaboklab(70.02% 0.1261 -0.1406)
OKLCHoklch(70.02% 0.189 311.9)
XYZxyz(45.5286, 31.2390, 87.6185)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C576F2 #A3F276
analogous
#8776F2 #C576F2 #F276E1
triadic
#C576F2 #F2C576 #76F2C5
tetradic
#C576F2 #F28776 #A3F276 #76E1F2
square
#C576F2 #F28776 #A3F276 #76E1F2
split-complementary
#C576F2 #E1F276 #76F287
monochromatic
#9215D9 #AD3EED #C576F2 #DDAEF7 #F3E3FC

Accessibility & contrast

On white

2.90
#C576F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C576F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C576F2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C576F2#FFFFFF#000000##000000
##C576F21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#6F99EF
Tritanopia (blue-blind)
#C08AA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c576f2;
/* rgb */ color: rgb(197, 118, 242);
/* oklch */ color: oklch(70.0% 0.189 311.9);
Tailwind
colors: {
  custom: {
    50: '#d9a0f7',
    500: '#c576f2',
    950: '#000000',
  },
}
SCSS
$custom: #c576f2;
$custom-light: #d9a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c576f2",
  "rgb": {
    "r": 197,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 278.226,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70022,
    "c": 0.18885,
    "h": 311.9
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

primary
#C576F2
secondary
#DDF3D1
accent
#DF0655
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C576F2

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

Preview Lab → · Contrast checker → · Palette generator →

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