#A587FC#A587FC

#A587FC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.168 H 293.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A587FC
RGBrgb(165, 135, 252)
HSLhsl(255, 95%, 76%)
HSVhsv(255, 46%, 99%)
CMYKcmyk(34.5%, 46.4%, 0%, 1.2%)
CIE-LABlab(63.63, 36.82, -54.56)
CIE-LCHlch(63.63, 65.82, 304.01°)
OKLaboklab(70.14% 0.0666 -0.1538)
OKLCHoklch(70.14% 0.168 293.4)
XYZxyz(41.7472, 32.3547, 96.1222)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587FC #DEFC87
analogous
#87A3FC #A587FC #E087FC
triadic
#A587FC #FCA587 #87FCA5
tetradic
#A587FC #FC87A3 #DEFC87 #87FCE0
square
#A587FC #FC87A3 #DEFC87 #87FCE0
split-complementary
#A587FC #FCE087 #A3FC87
monochromatic
#4B10F9 #784BFB #A587FC #D2C3FD #E9E1FE

Accessibility & contrast

On white

2.81
#A587FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#A587FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587FC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587FC#FFFFFF#000000##000000
##A587FC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#909EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a587fc;
/* rgb */ color: rgb(165, 135, 252);
/* oklch */ color: oklch(70.1% 0.168 293.4);
Tailwind
colors: {
  custom: {
    50: '#c3aafe',
    500: '#a587fc',
    950: '#000000',
  },
}
SCSS
$custom: #a587fc;
$custom-light: #c3aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a587fc",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 255.385,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.16761,
    "h": 293.4
  },
  "luminance": 0.32356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A587FC

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

Preview Lab → · Contrast checker → · Palette generator →

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