#C581FF#C581FF

#C581FF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.186 H 307.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#C581FF
RGBrgb(197, 129, 255)
HSLhsl(272, 100%, 75%)
HSVhsv(272, 49%, 100%)
CMYKcmyk(22.7%, 49.4%, 0%, 0%)
CIE-LABlab(65.59, 49.04, -52.91)
CIE-LCHlch(65.59, 72.15, 312.83°)
OKLaboklab(72.37% 0.1128 -0.1482)
OKLCHoklch(72.37% 0.186 307.3)
XYZxyz(48.9226, 34.7914, 98.7265)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581FF #BBFF81
analogous
#8681FF #C581FF #FF81FA
triadic
#C581FF #FFC581 #81FFC5
tetradic
#C581FF #FF8681 #BBFF81 #81FAFF
square
#C581FF #FF8681 #BBFF81 #81FAFF
split-complementary
#C581FF #FAFF81 #81FF86
monochromatic
#8D07FF #A944FF #C581FF #E1BEFF #F1E0FF

Accessibility & contrast

On white

2.64
#C581FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#C581FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581FF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581FF#FFFFFF#000000##000000
##C581FF1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#BC97B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c581ff;
/* rgb */ color: rgb(197, 129, 255);
/* oklch */ color: oklch(72.4% 0.186 307.3);
Tailwind
colors: {
  custom: {
    50: '#d9a7ff',
    500: '#c581ff',
    950: '#000000',
  },
}
SCSS
$custom: #c581ff;
$custom-light: #d9a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c581ff",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 272.381,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72366,
    "c": 0.18627,
    "h": 307.3
  },
  "luminance": 0.34791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C581FF

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

Preview Lab → · Contrast checker → · Palette generator →

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