#C586FF#C586FF

#C586FF is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.1% C 0.178 H 306.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#C586FF
RGBrgb(197, 134, 255)
HSLhsl(271, 100%, 76%)
HSVhsv(271, 47%, 100%)
CMYKcmyk(22.7%, 47.5%, 0%, 0%)
CIE-LABlab(66.63, 46.39, -51.26)
CIE-LCHlch(66.63, 69.14, 312.14°)
OKLaboklab(73.14% 0.1062 -0.1434)
OKLCHoklch(73.14% 0.178 306.5)
XYZxyz(49.5974, 36.1409, 98.9514)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586FF #C0FF86
analogous
#8986FF #C586FF #FF86FC
triadic
#C586FF #FFC586 #86FFC5
tetradic
#C586FF #FF8986 #C0FF86 #86FCFF
square
#C586FF #FF8986 #C0FF86 #86FCFF
split-complementary
#C586FF #FCFF86 #86FF89
monochromatic
#8A0CFF #A849FF #C586FF #E2C3FF #F0E0FF

Accessibility & contrast

On white

2.55
#C586FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#C586FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586FF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586FF#FFFFFF#000000##000000
##C586FF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#76A3FC
Tritanopia (blue-blind)
#BC9BB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c586ff;
/* rgb */ color: rgb(197, 134, 255);
/* oklch */ color: oklch(73.1% 0.178 306.5);
Tailwind
colors: {
  custom: {
    50: '#d9aaff',
    500: '#c586ff',
    950: '#000000',
  },
}
SCSS
$custom: #c586ff;
$custom-light: #d9aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#c586ff",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 271.24,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73141,
    "c": 0.17848,
    "h": 306.5
  },
  "luminance": 0.36141
}

Semantic roles & 50–950 ramp

primary
#C586FF
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C586FF

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

Preview Lab → · Contrast checker → · Palette generator →

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