#C577F2#C577F2

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

Color values

HEX#C577F2
RGBrgb(197, 119, 242)
HSLhsl(278, 83%, 71%)
HSVhsv(278, 51%, 95%)
CMYKcmyk(18.6%, 50.8%, 0%, 5.1%)
CIE-LABlab(62.91, 51.44, -50.01)
CIE-LCHlch(62.91, 71.74, 315.81°)
OKLaboklab(70.17% 0.1248 -0.1397)
OKLCHoklch(70.17% 0.187 311.8)
XYZxyz(45.6470, 31.4757, 87.6580)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C577F2 #A4F277
analogous
#8777F2 #C577F2 #F277E1
triadic
#C577F2 #F2C577 #77F2C5
tetradic
#C577F2 #F28777 #A4F277 #77E1F2
square
#C577F2 #F28777 #A4F277 #77E1F2
split-complementary
#C577F2 #E1F277 #77F287
monochromatic
#9215DA #AD3FED #C577F2 #DDAFF7 #F3E3FC

Accessibility & contrast

On white

2.88
#C577F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C577F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C577F2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C577F2#FFFFFF#000000##000000
##C577F21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#C08BAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c577f2;
/* rgb */ color: rgb(197, 119, 242);
/* oklch */ color: oklch(70.2% 0.187 311.8);
Tailwind
colors: {
  custom: {
    50: '#d9a1f7',
    500: '#c577f2',
    950: '#000000',
  },
}
SCSS
$custom: #c577f2;
$custom-light: #d9a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c577f2",
  "rgb": {
    "r": 197,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 278.049,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.1873,
    "h": 311.8
  },
  "luminance": 0.31475
}

Semantic roles & 50–950 ramp

primary
#C577F2
secondary
#DEF3D2
accent
#DF0756
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C577F2

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

Preview Lab → · Contrast checker → · Palette generator →

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