#C581EC#C581EC

#C581EC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.165 H 312.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C581EC
RGBrgb(197, 129, 236)
HSLhsl(278, 74%, 72%)
HSVhsv(278, 45%, 93%)
CMYKcmyk(16.5%, 45.3%, 0%, 7.5%)
CIE-LABlab(64.67, 44.90, -43.92)
CIE-LCHlch(64.67, 62.81, 315.64°)
OKLaboklab(71.38% 0.1105 -0.1221)
OKLCHoklch(71.38% 0.165 312.2)
XYZxyz(46.0139, 33.6279, 83.4075)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581EC #A8EC81
analogous
#9081EC #C581EC #EC81DE
triadic
#C581EC #ECC581 #81ECC5
tetradic
#C581EC #EC9081 #A8EC81 #81DEEC
square
#C581EC #EC9081 #A8EC81 #81DEEC
split-complementary
#C581EC #DEEC81 #81EC90
monochromatic
#9220D3 #AD4CE4 #C581EC #DDB6F4 #F3E4FB

Accessibility & contrast

On white

2.72
#C581EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#C581EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581EC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581EC#FFFFFF#000000##000000
##C581EC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#C191AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c581ec;
/* rgb */ color: rgb(197, 129, 236);
/* oklch */ color: oklch(71.4% 0.165 312.2);
Tailwind
colors: {
  custom: {
    50: '#d8a7f2',
    500: '#c581ec',
    950: '#000000',
  },
}
SCSS
$custom: #c581ec;
$custom-light: #d8a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c581ec",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 278.131,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71382,
    "c": 0.16466,
    "h": 312.2
  },
  "luminance": 0.33627
}

Semantic roles & 50–950 ramp

primary
#C581EC
secondary
#E1F2D7
accent
#D61058
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C581EC

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

Preview Lab → · Contrast checker → · Palette generator →

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