#C581ED#C581ED

#C581ED is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.166 H 311.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C581ED
RGBrgb(197, 129, 237)
HSLhsl(278, 75%, 72%)
HSVhsv(278, 46%, 93%)
CMYKcmyk(16.9%, 45.6%, 0%, 7.1%)
CIE-LABlab(64.71, 45.12, -44.40)
CIE-LCHlch(64.71, 63.30, 315.46°)
OKLaboklab(71.43% 0.1107 -0.1235)
OKLCHoklch(71.43% 0.166 311.9)
XYZxyz(46.1596, 33.6862, 84.1748)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581ED #A9ED81
analogous
#8F81ED #C581ED #ED81DF
triadic
#C581ED #EDC581 #81EDC5
tetradic
#C581ED #ED8F81 #A9ED81 #81DFED
square
#C581ED #ED8F81 #A9ED81 #81DFED
split-complementary
#C581ED #DFED81 #81ED8F
monochromatic
#911ED5 #AC4BE5 #C581ED #DEB7F5 #F3E4FB

Accessibility & contrast

On white

2.71
#C581ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C581ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581ED
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581ED#FFFFFF#000000##000000
##C581ED1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#7C9EEA
Tritanopia (blue-blind)
#C192AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c581ed;
/* rgb */ color: rgb(197, 129, 237);
/* oklch */ color: oklch(71.4% 0.166 311.9);
Tailwind
colors: {
  custom: {
    50: '#d8a7f3',
    500: '#c581ed',
    950: '#000000',
  },
}
SCSS
$custom: #c581ed;
$custom-light: #d8a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c581ed",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 277.778,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.16579,
    "h": 311.9
  },
  "luminance": 0.33685
}

Semantic roles & 50–950 ramp

primary
#C581ED
secondary
#E1F3D7
accent
#D70E59
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C581ED

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

Preview Lab → · Contrast checker → · Palette generator →

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