#C581FC#C581FC

#C581FC is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.2% C 0.183 H 308.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C581FC
RGBrgb(197, 129, 252)
HSLhsl(273, 95%, 75%)
HSVhsv(273, 49%, 99%)
CMYKcmyk(21.8%, 48.8%, 0%, 1.2%)
CIE-LABlab(65.44, 48.38, -51.51)
CIE-LCHlch(65.44, 70.66, 313.21°)
OKLaboklab(72.21% 0.1125 -0.1441)
OKLCHoklch(72.21% 0.183 308)
XYZxyz(48.4434, 34.5997, 96.2030)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581FC #B8FC81
analogous
#8881FC #C581FC #FC81F5
triadic
#C581FC #FCC581 #81FCC5
tetradic
#C581FC #FC8881 #B8FC81 #81F5FC
square
#C581FC #FC8881 #B8FC81 #81F5FC
split-complementary
#C581FC #F5FC81 #81FC88
monochromatic
#8E09F9 #A945FB #C581FC #E1BDFD #F1E1FE

Accessibility & contrast

On white

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

On black

7.92
#C581FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581FC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581FC#FFFFFF#000000##000000
##C581FC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#BD96B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c581fc;
/* rgb */ color: rgb(197, 129, 252);
/* oklch */ color: oklch(72.2% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#d9a7fe',
    500: '#c581fc',
    950: '#000000',
  },
}
SCSS
$custom: #c581fc;
$custom-light: #d9a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c581fc",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 273.171,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72206,
    "c": 0.18284,
    "h": 308
  },
  "luminance": 0.34599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C581FC

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

Preview Lab → · Contrast checker → · Palette generator →

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