#C586E5#C586E5

#C586E5 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.148 H 313.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C586E5
RGBrgb(197, 134, 229)
HSLhsl(280, 65%, 71%)
HSVhsv(280, 41%, 90%)
CMYKcmyk(14%, 41.5%, 0%, 10.2%)
CIE-LABlab(65.42, 40.74, -38.87)
CIE-LCHlch(65.42, 56.31, 316.35°)
OKLaboklab(71.84% 0.1023 -0.1075)
OKLCHoklch(71.84% 0.148 313.6)
XYZxyz(45.6916, 34.5786, 78.3809)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586E5 #A6E586
analogous
#9586E5 #C586E5 #E586D6
triadic
#C586E5 #E5C586 #86E5C5
tetradic
#C586E5 #E59586 #A6E586 #86D6E5
square
#C586E5 #E59586 #A6E586 #86D6E5
split-complementary
#C586E5 #D6E586 #86E595
monochromatic
#922BC6 #AD54DA #C586E5 #DDB8F0 #F3E6FA

Accessibility & contrast

On white

2.65
#C586E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C586E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586E5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586E5#FFFFFF#000000##000000
##C586E51.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#C393AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c586e5;
/* rgb */ color: rgb(197, 134, 229);
/* oklch */ color: oklch(71.8% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#d8aaed',
    500: '#c586e5',
    950: '#000000',
  },
}
SCSS
$custom: #c586e5;
$custom-light: #d8aaed;
$custom-dark: #000000;
JSON
{
  "hex": "#c586e5",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 279.789,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71842,
    "c": 0.14843,
    "h": 313.6
  },
  "luminance": 0.34578
}

Semantic roles & 50–950 ramp

primary
#C586E5
secondary
#DFF0D7
accent
#CC1955
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C586E5

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

Preview Lab → · Contrast checker → · Palette generator →

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