#C581EE#C581EE

#C581EE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.167 H 311.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C581EE
RGBrgb(197, 129, 238)
HSLhsl(277, 76%, 72%)
HSVhsv(277, 46%, 93%)
CMYKcmyk(17.2%, 45.8%, 0%, 6.7%)
CIE-LABlab(64.76, 45.33, -44.88)
CIE-LCHlch(64.76, 63.79, 315.29°)
OKLaboklab(71.48% 0.1108 -0.1248)
OKLCHoklch(71.48% 0.167 311.6)
XYZxyz(46.3061, 33.7448, 84.9464)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581EE #AAEE81
analogous
#8F81EE #C581EE #EE81E1
triadic
#C581EE #EEC581 #81EEC5
tetradic
#C581EE #EE8F81 #AAEE81 #81E1EE
square
#C581EE #EE8F81 #AAEE81 #81E1EE
split-complementary
#C581EE #E1EE81 #81EE8F
monochromatic
#911DD8 #AC4BE7 #C581EE #DEB7F5 #F3E4FB

Accessibility & contrast

On white

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

On black

7.75
#C581EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581EE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581EE#FFFFFF#000000##000000
##C581EE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#C192AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c581ee;
/* rgb */ color: rgb(197, 129, 238);
/* oklch */ color: oklch(71.5% 0.167 311.6);
Tailwind
colors: {
  custom: {
    50: '#d8a7f4',
    500: '#c581ee',
    950: '#000000',
  },
}
SCSS
$custom: #c581ee;
$custom-light: #d8a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c581ee",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 277.431,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71482,
    "c": 0.16692,
    "h": 311.6
  },
  "luminance": 0.33744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C581EE

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

Preview Lab → · Contrast checker → · Palette generator →

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