#C586EB#C586EB

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

Color values

HEX#C586EB
RGBrgb(197, 134, 235)
HSLhsl(277, 72%, 72%)
HSVhsv(277, 43%, 92%)
CMYKcmyk(16.2%, 43%, 0%, 7.8%)
CIE-LABlab(65.69, 42.01, -41.77)
CIE-LCHlch(65.69, 59.24, 315.17°)
OKLaboklab(72.13% 0.1034 -0.1159)
OKLCHoklch(72.13% 0.155 311.7)
XYZxyz(46.5438, 34.9195, 82.8694)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586EB #ACEB86
analogous
#9386EB #C586EB #EB86DE
triadic
#C586EB #EBC586 #86EBC5
tetradic
#C586EB #EB9386 #ACEB86 #86DEEB
square
#C586EB #EB9386 #ACEB86 #86DEEB
split-complementary
#C586EB #DEEB86 #86EB93
monochromatic
#9123D4 #AC51E2 #C586EB #DEBBF4 #F2E5FB

Accessibility & contrast

On white

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

On black

7.98
#C586EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586EB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586EB#FFFFFF#000000##000000
##C586EB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#C195AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c586eb;
/* rgb */ color: rgb(197, 134, 235);
/* oklch */ color: oklch(72.1% 0.155 311.7);
Tailwind
colors: {
  custom: {
    50: '#d8aaf2',
    500: '#c586eb',
    950: '#000000',
  },
}
SCSS
$custom: #c586eb;
$custom-light: #d8aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c586eb",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 277.426,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7213,
    "c": 0.15529,
    "h": 311.7
  },
  "luminance": 0.34919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C586EB

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

Preview Lab → · Contrast checker → · Palette generator →

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