#C587FB#C587FB

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

Color values

HEX#C587FB
RGBrgb(197, 135, 251)
HSLhsl(272, 94%, 76%)
HSVhsv(272, 46%, 98%)
CMYKcmyk(21.5%, 46.2%, 0%, 1.6%)
CIE-LABlab(66.64, 44.96, -49.05)
CIE-LCHlch(66.64, 66.54, 312.51°)
OKLaboklab(73.09% 0.1044 -0.137)
OKLCHoklch(73.09% 0.172 307.3)
XYZxyz(49.0991, 36.1638, 95.6418)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587FB #BDFB87
analogous
#8B87FB #C587FB #FB87F7
triadic
#C587FB #FBC587 #87FBC5
tetradic
#C587FB #FB8B87 #BDFB87 #87F7FB
square
#C587FB #FB8B87 #BDFB87 #87F7FB
split-complementary
#C587FB #F7FB87 #87FB8B
monochromatic
#8C11F7 #A84CF9 #C587FB #E2C2FD #F1E1FE

Accessibility & contrast

On white

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

On black

8.23
#C587FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587FB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587FB#FFFFFF#000000##000000
##C587FB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#BD9AB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c587fb;
/* rgb */ color: rgb(197, 135, 251);
/* oklch */ color: oklch(73.1% 0.172 307.3);
Tailwind
colors: {
  custom: {
    50: '#d9abfd',
    500: '#c587fb',
    950: '#000000',
  },
}
SCSS
$custom: #c587fb;
$custom-light: #d9abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c587fb",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 272.069,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.17224,
    "h": 307.3
  },
  "luminance": 0.36163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C587FB

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

Preview Lab → · Contrast checker → · Palette generator →

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