#C586F7#C586F7

#C586F7 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.169 H 308.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#C586F7
RGBrgb(197, 134, 247)
HSLhsl(273, 88%, 75%)
HSVhsv(273, 46%, 97%)
CMYKcmyk(20.2%, 45.7%, 0%, 3.1%)
CIE-LABlab(66.24, 44.61, -47.49)
CIE-LCHlch(66.24, 65.16, 313.21°)
OKLaboklab(72.73% 0.1052 -0.1325)
OKLCHoklch(72.73% 0.169 308.5)
XYZxyz(48.3363, 35.6365, 92.3098)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586F7 #B8F786
analogous
#8C86F7 #C586F7 #F786F1
triadic
#C586F7 #F7C586 #86F7C5
tetradic
#C586F7 #F78C86 #B8F786 #86F1F7
square
#C586F7 #F78C86 #B8F786 #86F1F7
split-complementary
#C586F7 #F1F786 #86F78C
monochromatic
#8E13EF #A94DF3 #C586F7 #E1BFFB #F1E2FD

Accessibility & contrast

On white

2.58
#C586F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#C586F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586F7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586F7#FFFFFF#000000##000000
##C586F71.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#BE98B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c586f7;
/* rgb */ color: rgb(197, 134, 247);
/* oklch */ color: oklch(72.7% 0.169 308.5);
Tailwind
colors: {
  custom: {
    50: '#d9aafa',
    500: '#c586f7',
    950: '#000000',
  },
}
SCSS
$custom: #c586f7;
$custom-light: #d9aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#c586f7",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 273.451,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.16917,
    "h": 308.5
  },
  "luminance": 0.35636
}

Semantic roles & 50–950 ramp

primary
#C586F7
secondary
#E4F5D6
accent
#E40166
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C586F7

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

Preview Lab → · Contrast checker → · Palette generator →

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