#C581FB#C581FB

#C581FB is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.182 H 308.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C581FB
RGBrgb(197, 129, 251)
HSLhsl(273, 94%, 75%)
HSVhsv(273, 49%, 98%)
CMYKcmyk(21.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(65.39, 48.16, -51.04)
CIE-LCHlch(65.39, 70.17, 313.34°)
OKLaboklab(72.15% 0.1124 -0.1427)
OKLCHoklch(72.15% 0.182 308.2)
XYZxyz(48.2854, 34.5365, 95.3706)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581FB #B7FB81
analogous
#8881FB #C581FB #FB81F4
triadic
#C581FB #FBC581 #81FBC5
tetradic
#C581FB #FB8881 #B7FB81 #81F4FB
square
#C581FB #FB8881 #B7FB81 #81F4FB
split-complementary
#C581FB #F4FB81 #81FB88
monochromatic
#8E0AF7 #AA46F9 #C581FB #E0BCFD #F1E1FE

Accessibility & contrast

On white

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

On black

7.91
#C581FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581FB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581FB#FFFFFF#000000##000000
##C581FB1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#BD96B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c581fb;
/* rgb */ color: rgb(197, 129, 251);
/* oklch */ color: oklch(72.2% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#d9a7fd',
    500: '#c581fb',
    950: '#000000',
  },
}
SCSS
$custom: #c581fb;
$custom-light: #d9a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c581fb",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 273.443,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72153,
    "c": 0.18169,
    "h": 308.2
  },
  "luminance": 0.34536
}

Semantic roles & 50–950 ramp

primary
#C581FB
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C581FB

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

Preview Lab → · Contrast checker → · Palette generator →

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