#C581EA#C581EA

#C581EA is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.3% C 0.162 H 312.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C581EA
RGBrgb(197, 129, 234)
HSLhsl(279, 71%, 71%)
HSVhsv(279, 45%, 92%)
CMYKcmyk(15.8%, 44.9%, 0%, 8.2%)
CIE-LABlab(64.57, 44.48, -42.96)
CIE-LCHlch(64.57, 61.84, 316.00°)
OKLaboklab(71.28% 0.1102 -0.1193)
OKLCHoklch(71.28% 0.162 312.7)
XYZxyz(45.7250, 33.5123, 81.8857)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C581EA #A6EA81
analogous
#9081EA #C581EA #EA81DA
triadic
#C581EA #EAC581 #81EAC5
tetradic
#C581EA #EA9081 #A6EA81 #81DAEA
square
#C581EA #EA9081 #A6EA81 #81DAEA
split-complementary
#C581EA #DAEA81 #81EA90
monochromatic
#9222CE #AD4DE1 #C581EA #DDB5F3 #F3E5FB

Accessibility & contrast

On white

2.73
#C581EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C581EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C581EA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C581EA#FFFFFF#000000##000000
##C581EA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#C291AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c581ea;
/* rgb */ color: rgb(197, 129, 234);
/* oklch */ color: oklch(71.3% 0.162 312.7);
Tailwind
colors: {
  custom: {
    50: '#d8a7f1',
    500: '#c581ea',
    950: '#000000',
  },
}
SCSS
$custom: #c581ea;
$custom-light: #d8a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c581ea",
  "rgb": {
    "r": 197,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 278.857,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71282,
    "c": 0.1624,
    "h": 312.7
  },
  "luminance": 0.33511
}

Semantic roles & 50–950 ramp

primary
#C581EA
secondary
#DFF1D6
accent
#D31256
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C581EA

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

Preview Lab → · Contrast checker → · Palette generator →

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