#C581FD#C581FD

#C581FD is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.3% C 0.184 H 307.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#C581FD
RGBrgb(197, 129, 253)
HSLhsl(273, 97%, 75%)
HSVhsv(273, 49%, 99%)
CMYKcmyk(22.1%, 49%, 0%, 0.8%)
CIE-LABlab(65.49, 48.60, -51.98)
CIE-LCHlch(65.49, 71.16, 313.08°)
OKLaboklab(72.26% 0.1126 -0.1455)
OKLCHoklch(72.26% 0.184 307.8)
XYZxyz(48.6023, 34.6632, 97.0397)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581FD #B9FD81
analogous
#8781FD #C581FD #FD81F7
triadic
#C581FD #FDC581 #81FDC5
tetradic
#C581FD #FD8781 #B9FD81 #81F7FD
square
#C581FD #FD8781 #B9FD81 #81F7FD
split-complementary
#C581FD #F7FD81 #81FD87
monochromatic
#8E09FB #A945FC #C581FD #E1BDFE #F1E1FF

Accessibility & contrast

On white

2.65
#C581FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#C581FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581FD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581FD#FFFFFF#000000##000000
##C581FD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#BD96B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c581fd;
/* rgb */ color: rgb(197, 129, 253);
/* oklch */ color: oklch(72.3% 0.184 307.8);
Tailwind
colors: {
  custom: {
    50: '#d9a7fe',
    500: '#c581fd',
    950: '#000000',
  },
}
SCSS
$custom: #c581fd;
$custom-light: #d9a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c581fd",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 272.903,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72259,
    "c": 0.18398,
    "h": 307.8
  },
  "luminance": 0.34663
}

Semantic roles & 50–950 ramp

primary
#C581FD
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C581FD

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

Preview Lab → · Contrast checker → · Palette generator →

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