#C581EB#C581EB

#C581EB is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.3% C 0.164 H 312.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C581EB
RGBrgb(197, 129, 235)
HSLhsl(278, 73%, 71%)
HSVhsv(278, 45%, 92%)
CMYKcmyk(16.2%, 45.1%, 0%, 7.8%)
CIE-LABlab(64.62, 44.69, -43.44)
CIE-LCHlch(64.62, 62.32, 315.81°)
OKLaboklab(71.33% 0.1104 -0.1207)
OKLCHoklch(71.33% 0.164 312.4)
XYZxyz(45.8690, 33.5699, 82.6445)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581EB #A7EB81
analogous
#9081EB #C581EB #EB81DC
triadic
#C581EB #EBC581 #81EBC5
tetradic
#C581EB #EB9081 #A7EB81 #81DCEB
square
#C581EB #EB9081 #A7EB81 #81DCEB
split-complementary
#C581EB #DCEB81 #81EB90
monochromatic
#9221D1 #AD4CE3 #C581EB #DDB6F3 #F3E5FB

Accessibility & contrast

On white

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

On black

7.71
#C581EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581EB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581EB#FFFFFF#000000##000000
##C581EB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c581eb;
/* rgb */ color: rgb(197, 129, 235);
/* oklch */ color: oklch(71.3% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#d8a7f2',
    500: '#c581eb',
    950: '#000000',
  },
}
SCSS
$custom: #c581eb;
$custom-light: #d8a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c581eb",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 278.491,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71332,
    "c": 0.16353,
    "h": 312.4
  },
  "luminance": 0.33569
}

Semantic roles & 50–950 ramp

primary
#C581EB
secondary
#E0F2D6
accent
#D51157
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C581EB

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

Preview Lab → · Contrast checker → · Palette generator →

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