#C586FA#C586FA

#C586FA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.173 H 307.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#C586FA
RGBrgb(197, 134, 250)
HSLhsl(273, 92%, 75%)
HSVhsv(273, 46%, 98%)
CMYKcmyk(21.2%, 46.4%, 0%, 2%)
CIE-LABlab(66.38, 45.27, -48.91)
CIE-LCHlch(66.38, 66.65, 312.79°)
OKLaboklab(72.88% 0.1056 -0.1366)
OKLCHoklch(72.88% 0.173 307.7)
XYZxyz(48.8030, 35.8232, 94.7675)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586FA #BBFA86
analogous
#8B86FA #C586FA #FA86F5
triadic
#C586FA #FAC586 #86FAC5
tetradic
#C586FA #FA8B86 #BBFA86 #86F5FA
square
#C586FA #FA8B86 #BBFA86 #86F5FA
split-complementary
#C586FA #F5FA86 #86FA8B
monochromatic
#8D10F5 #A94BF8 #C586FA #E1C1FC #F1E2FE

Accessibility & contrast

On white

2.57
#C586FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#C586FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586FA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586FA#FFFFFF#000000##000000
##C586FA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#BD99B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c586fa;
/* rgb */ color: rgb(197, 134, 250);
/* oklch */ color: oklch(72.9% 0.173 307.7);
Tailwind
colors: {
  custom: {
    50: '#d9aafc',
    500: '#c586fa',
    950: '#000000',
  },
}
SCSS
$custom: #c586fa;
$custom-light: #d9aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#c586fa",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 272.586,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.17266,
    "h": 307.7
  },
  "luminance": 0.35823
}

Semantic roles & 50–950 ramp

primary
#C586FA
secondary
#E4F6D5
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C586FA

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

Preview Lab → · Contrast checker → · Palette generator →

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