#C586EF#C586EF

#C586EF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.160 H 310.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#C586EF
RGBrgb(197, 134, 239)
HSLhsl(276, 77%, 73%)
HSVhsv(276, 44%, 94%)
CMYKcmyk(17.6%, 43.9%, 0%, 6.3%)
CIE-LABlab(65.87, 42.87, -43.68)
CIE-LCHlch(65.87, 61.20, 314.46°)
OKLaboklab(72.33% 0.1041 -0.1214)
OKLCHoklch(72.33% 0.16 310.6)
XYZxyz(47.1282, 35.1533, 85.9472)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586EF #B0EF86
analogous
#9086EF #C586EF #EF86E4
triadic
#C586EF #EFC586 #86EFC5
tetradic
#C586EF #EF9086 #B0EF86 #86E4EF
square
#C586EF #EF9086 #B0EF86 #86E4EF
split-complementary
#C586EF #E4EF86 #86EF90
monochromatic
#911DDD #AB50E8 #C586EF #DFBCF6 #F2E4FB

Accessibility & contrast

On white

2.61
#C586EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#C586EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586EF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586EF#FFFFFF#000000##000000
##C586EF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#C096AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c586ef;
/* rgb */ color: rgb(197, 134, 239);
/* oklch */ color: oklch(72.3% 0.160 310.6);
Tailwind
colors: {
  custom: {
    50: '#d8aaf4',
    500: '#c586ef',
    950: '#000000',
  },
}
SCSS
$custom: #c586ef;
$custom-light: #d8aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c586ef",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 276,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72326,
    "c": 0.1599,
    "h": 310.6
  },
  "luminance": 0.35153
}

Semantic roles & 50–950 ramp

primary
#C586EF
secondary
#E3F3D8
accent
#D90D5E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C586EF

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

Preview Lab → · Contrast checker → · Palette generator →

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