#C586F8#C586F8

#C586F8 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.170 H 308.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#C586F8
RGBrgb(197, 134, 248)
HSLhsl(273, 89%, 75%)
HSVhsv(273, 46%, 97%)
CMYKcmyk(20.6%, 46%, 0%, 2.7%)
CIE-LABlab(66.29, 44.83, -47.97)
CIE-LCHlch(66.29, 65.66, 313.06°)
OKLaboklab(72.78% 0.1054 -0.1338)
OKLCHoklch(72.78% 0.17 308.2)
XYZxyz(48.4910, 35.6984, 93.1247)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C586F8 #B9F886
analogous
#8C86F8 #C586F8 #F886F2
triadic
#C586F8 #F8C586 #86F8C5
tetradic
#C586F8 #F88C86 #B9F886 #86F2F8
square
#C586F8 #F88C86 #B9F886 #86F2F8
split-complementary
#C586F8 #F2F886 #86F88C
monochromatic
#8E12F1 #A94CF5 #C586F8 #E1C0FB #F1E2FD

Accessibility & contrast

On white

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

On black

8.14
#C586F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C586F8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C586F8#FFFFFF#000000##000000
##C586F81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#BE99B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c586f8;
/* rgb */ color: rgb(197, 134, 248);
/* oklch */ color: oklch(72.8% 0.170 308.2);
Tailwind
colors: {
  custom: {
    50: '#d9aafb',
    500: '#c586f8',
    950: '#000000',
  },
}
SCSS
$custom: #c586f8;
$custom-light: #d9aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#c586f8",
  "rgb": {
    "r": 197,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 273.158,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.17033,
    "h": 308.2
  },
  "luminance": 0.35698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C586F8

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

Preview Lab → · Contrast checker → · Palette generator →

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