#C586EA#C586EA

#C586EA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.154 H 312.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#C586EA
RGBrgb(197, 134, 234)
HSLhsl(278, 70%, 72%)
HSVhsv(278, 43%, 92%)
CMYKcmyk(15.8%, 42.7%, 0%, 8.2%)
CIE-LABlab(65.64, 41.80, -41.28)
CIE-LCHlch(65.64, 58.75, 315.35°)
OKLaboklab(72.08% 0.1032 -0.1145)
OKLCHoklch(72.08% 0.154 312)
XYZxyz(46.3998, 34.8619, 82.1107)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586EA #ABEA86
analogous
#9386EA #C586EA #EA86DD
triadic
#C586EA #EAC586 #86EAC5
tetradic
#C586EA #EA9386 #ABEA86 #86DDEA
square
#C586EA #EA9386 #ABEA86 #86DDEA
split-complementary
#C586EA #DDEA86 #86EA93
monochromatic
#9124D1 #AC52E1 #C586EA #DEBAF3 #F3E5FA

Accessibility & contrast

On white

2.63
#C586EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#C586EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586EA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586EA#FFFFFF#000000##000000
##C586EA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#C195AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c586ea;
/* rgb */ color: rgb(197, 134, 234);
/* oklch */ color: oklch(72.1% 0.154 312.0);
Tailwind
colors: {
  custom: {
    50: '#d8aaf1',
    500: '#c586ea',
    950: '#000000',
  },
}
SCSS
$custom: #c586ea;
$custom-light: #d8aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c586ea",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 277.8,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72082,
    "c": 0.15414,
    "h": 312
  },
  "luminance": 0.34861
}

Semantic roles & 50–950 ramp

primary
#C586EA
secondary
#E2F2D9
accent
#D2135A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C586EA

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

Preview Lab → · Contrast checker → · Palette generator →

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