#C587FA#C587FA

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

Color values

HEX#C587FA
RGBrgb(197, 135, 250)
HSLhsl(272, 92%, 75%)
HSVhsv(272, 46%, 98%)
CMYKcmyk(21.2%, 46%, 0%, 2%)
CIE-LABlab(66.60, 44.74, -48.58)
CIE-LCHlch(66.60, 66.04, 312.64°)
OKLaboklab(73.04% 0.1043 -0.1356)
OKLCHoklch(73.04% 0.171 307.6)
XYZxyz(48.9418, 36.1009, 94.8138)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587FA #BCFA87
analogous
#8B87FA #C587FA #FA87F5
triadic
#C587FA #FAC587 #87FAC5
tetradic
#C587FA #FA8B87 #BCFA87 #87F5FA
square
#C587FA #FA8B87 #BCFA87 #87F5FA
split-complementary
#C587FA #F5FA87 #87FA8B
monochromatic
#8C11F5 #A94CF8 #C587FA #E1C2FC #F1E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C587FA#FFFFFF#000000##000000
##C587FA1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#BD9AB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c587fa;
/* rgb */ color: rgb(197, 135, 250);
/* oklch */ color: oklch(73.0% 0.171 307.6);
Tailwind
colors: {
  custom: {
    50: '#d9abfc',
    500: '#c587fa',
    950: '#000000',
  },
}
SCSS
$custom: #c587fa;
$custom-light: #d9abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c587fa",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 272.348,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.17107,
    "h": 307.6
  },
  "luminance": 0.361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C587FA

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

Preview Lab → · Contrast checker → · Palette generator →

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