#C586FC#C586FC

#C586FC is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.0% C 0.175 H 307.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#C586FC
RGBrgb(197, 134, 252)
HSLhsl(272, 95%, 76%)
HSVhsv(272, 47%, 99%)
CMYKcmyk(21.8%, 46.8%, 0%, 1.2%)
CIE-LABlab(66.48, 45.72, -49.85)
CIE-LCHlch(66.48, 67.64, 312.52°)
OKLaboklab(72.99% 0.1059 -0.1393)
OKLCHoklch(72.99% 0.175 307.2)
XYZxyz(49.1182, 35.9493, 96.4279)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586FC #BDFC86
analogous
#8A86FC #C586FC #FC86F8
triadic
#C586FC #FCC586 #86FCC5
tetradic
#C586FC #FC8A86 #BDFC86 #86F8FC
square
#C586FC #FC8A86 #BDFC86 #86F8FC
split-complementary
#C586FC #F8FC86 #86FC8A
monochromatic
#8C0FF9 #A84AFB #C586FC #E2C2FD #F1E1FE

Accessibility & contrast

On white

2.56
#C586FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#C586FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586FC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586FC#FFFFFF#000000##000000
##C586FC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#BD9AB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c586fc;
/* rgb */ color: rgb(197, 134, 252);
/* oklch */ color: oklch(73.0% 0.175 307.2);
Tailwind
colors: {
  custom: {
    50: '#d9aafe',
    500: '#c586fc',
    950: '#000000',
  },
}
SCSS
$custom: #c586fc;
$custom-light: #d9aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#c586fc",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 272.034,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72985,
    "c": 0.17498,
    "h": 307.2
  },
  "luminance": 0.35949
}

Semantic roles & 50–950 ramp

primary
#C586FC
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C586FC

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

Preview Lab → · Contrast checker → · Palette generator →

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