#A587FB#A587FB

#A587FB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.166 H 293.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A587FB
RGBrgb(165, 135, 251)
HSLhsl(256, 94%, 76%)
HSVhsv(256, 46%, 98%)
CMYKcmyk(34.3%, 46.2%, 0%, 1.6%)
CIE-LABlab(63.58, 36.56, -54.09)
CIE-LCHlch(63.58, 65.29, 304.06°)
OKLaboklab(70.08% 0.0665 -0.1524)
OKLCHoklch(70.08% 0.166 293.6)
XYZxyz(41.5891, 32.2915, 95.2898)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587FB #DDFB87
analogous
#87A3FB #A587FB #DF87FB
triadic
#A587FB #FBA587 #87FBA5
tetradic
#A587FB #FB87A3 #DDFB87 #87FBDF
square
#A587FB #FB87A3 #DDFB87 #87FBDF
split-complementary
#A587FB #FBDF87 #A3FB87
monochromatic
#4C11F7 #794CF9 #A587FB #D1C2FD #E9E1FE

Accessibility & contrast

On white

2.82
#A587FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#A587FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587FB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587FB#FFFFFF#000000##000000
##A587FB1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#919DB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a587fb;
/* rgb */ color: rgb(165, 135, 251);
/* oklch */ color: oklch(70.1% 0.166 293.6);
Tailwind
colors: {
  custom: {
    50: '#c3aafd',
    500: '#a587fb',
    950: '#000000',
  },
}
SCSS
$custom: #a587fb;
$custom-light: #c3aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#a587fb",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 255.517,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70084,
    "c": 0.16631,
    "h": 293.6
  },
  "luminance": 0.32292
}

Semantic roles & 50–950 ramp

primary
#A587FB
secondary
#EEF6D5
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A587FB

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

Preview Lab → · Contrast checker → · Palette generator →

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