#C587FC#C587FC

#C587FC is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.173 H 307.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#C587FC
RGBrgb(197, 135, 252)
HSLhsl(272, 95%, 76%)
HSVhsv(272, 46%, 99%)
CMYKcmyk(21.8%, 46.4%, 0%, 1.2%)
CIE-LABlab(66.69, 45.18, -49.52)
CIE-LCHlch(66.69, 67.04, 312.38°)
OKLaboklab(73.14% 0.1045 -0.1383)
OKLCHoklch(73.14% 0.173 307.1)
XYZxyz(49.2571, 36.2270, 96.4742)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587FC #BEFC87
analogous
#8A87FC #C587FC #FC87F8
triadic
#C587FC #FCC587 #87FCC5
tetradic
#C587FC #FC8A87 #BEFC87 #87F8FC
square
#C587FC #FC8A87 #BEFC87 #87F8FC
split-complementary
#C587FC #F8FC87 #87FC8A
monochromatic
#8B10F9 #A84BFB #C587FC #E2C3FD #F1E1FE

Accessibility & contrast

On white

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

On black

8.25
#C587FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587FC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587FC#FFFFFF#000000##000000
##C587FC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#BD9AB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c587fc;
/* rgb */ color: rgb(197, 135, 252);
/* oklch */ color: oklch(73.1% 0.173 307.1);
Tailwind
colors: {
  custom: {
    50: '#d9abfe',
    500: '#c587fc',
    950: '#000000',
  },
}
SCSS
$custom: #c587fc;
$custom-light: #d9abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c587fc",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 271.795,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73143,
    "c": 0.17341,
    "h": 307.1
  },
  "luminance": 0.36227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C587FC

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

Preview Lab → · Contrast checker → · Palette generator →

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