#C581EF#C581EF

#C581EF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.168 H 311.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C581EF
RGBrgb(197, 129, 239)
HSLhsl(277, 77%, 72%)
HSVhsv(277, 46%, 94%)
CMYKcmyk(17.6%, 46%, 0%, 6.3%)
CIE-LABlab(64.81, 45.55, -45.35)
CIE-LCHlch(64.81, 64.28, 315.12°)
OKLaboklab(71.53% 0.1109 -0.1262)
OKLCHoklch(71.53% 0.168 311.3)
XYZxyz(46.4534, 33.8037, 85.7223)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581EF #ABEF81
analogous
#8E81EF #C581EF #EF81E2
triadic
#C581EF #EFC581 #81EFC5
tetradic
#C581EF #EF8E81 #ABEF81 #81E2EF
square
#C581EF #EF8E81 #ABEF81 #81E2EF
split-complementary
#C581EF #E2EF81 #81EF8E
monochromatic
#911CDA #AC4BE8 #C581EF #DEB7F6 #F3E4FC

Accessibility & contrast

On white

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

On black

7.76
#C581EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581EF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581EF#FFFFFF#000000##000000
##C581EF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#C092AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c581ef;
/* rgb */ color: rgb(197, 129, 239);
/* oklch */ color: oklch(71.5% 0.168 311.3);
Tailwind
colors: {
  custom: {
    50: '#d8a7f4',
    500: '#c581ef',
    950: '#000000',
  },
}
SCSS
$custom: #c581ef;
$custom-light: #d8a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c581ef",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 277.091,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.16805,
    "h": 311.3
  },
  "luminance": 0.33803
}

Semantic roles & 50–950 ramp

primary
#C581EF
secondary
#E2F3D8
accent
#DA0C5A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C581EF

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

Preview Lab → · Contrast checker → · Palette generator →

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