#C586FE#C586FE

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

Color values

HEX#C586FE
RGBrgb(197, 134, 254)
HSLhsl(272, 98%, 76%)
HSVhsv(272, 47%, 100%)
CMYKcmyk(22.4%, 47.2%, 0%, 0.4%)
CIE-LABlab(66.58, 46.16, -50.79)
CIE-LCHlch(66.58, 68.64, 312.27°)
OKLaboklab(73.09% 0.1061 -0.142)
OKLCHoklch(73.09% 0.177 306.8)
XYZxyz(49.4368, 36.0767, 98.1058)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586FE #BFFE86
analogous
#8986FE #C586FE #FE86FB
triadic
#C586FE #FEC586 #86FEC5
tetradic
#C586FE #FE8986 #BFFE86 #86FBFE
square
#C586FE #FE8986 #BFFE86 #86FBFE
split-complementary
#C586FE #FBFE86 #86FE89
monochromatic
#8B0DFD #A849FD #C586FE #E2C3FF #F0E1FF

Accessibility & contrast

On white

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

On black

8.22
#C586FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586FE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586FE#FFFFFF#000000##000000
##C586FE1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#BC9AB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c586fe;
/* rgb */ color: rgb(197, 134, 254);
/* oklch */ color: oklch(73.1% 0.177 306.8);
Tailwind
colors: {
  custom: {
    50: '#d9aaff',
    500: '#c586fe',
    950: '#000000',
  },
}
SCSS
$custom: #c586fe;
$custom-light: #d9aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#c586fe",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 271.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73089,
    "c": 0.17732,
    "h": 306.8
  },
  "luminance": 0.36076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C586FE

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

Preview Lab → · Contrast checker → · Palette generator →

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