#C581FA#C581FA

#C581FA is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.1% C 0.181 H 308.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#C581FA
RGBrgb(197, 129, 250)
HSLhsl(274, 92%, 74%)
HSVhsv(274, 48%, 98%)
CMYKcmyk(21.2%, 48.4%, 0%, 2%)
CIE-LABlab(65.34, 47.94, -50.57)
CIE-LCHlch(65.34, 69.68, 313.47°)
OKLaboklab(72.1% 0.1123 -0.1414)
OKLCHoklch(72.1% 0.181 308.5)
XYZxyz(48.1282, 34.4736, 94.5426)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581FA #B6FA81
analogous
#8981FA #C581FA #FA81F2
triadic
#C581FA #FAC581 #81FAC5
tetradic
#C581FA #FA8981 #B6FA81 #81F2FA
square
#C581FA #FA8981 #B6FA81 #81F2FA
split-complementary
#C581FA #F2FA81 #81FA89
monochromatic
#8F0BF5 #AA46F8 #C581FA #E0BCFC #F1E2FE

Accessibility & contrast

On white

2.66
#C581FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#C581FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581FA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581FA#FFFFFF#000000##000000
##C581FA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#BE95B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c581fa;
/* rgb */ color: rgb(197, 129, 250);
/* oklch */ color: oklch(72.1% 0.181 308.5);
Tailwind
colors: {
  custom: {
    50: '#d9a7fc',
    500: '#c581fa',
    950: '#000000',
  },
}
SCSS
$custom: #c581fa;
$custom-light: #d9a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c581fa",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 273.719,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.721,
    "c": 0.18056,
    "h": 308.5
  },
  "luminance": 0.34473
}

Semantic roles & 50–950 ramp

primary
#C581FA
secondary
#E3F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C581FA

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

Preview Lab → · Contrast checker → · Palette generator →

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