#A587DF#A587DF

#A587DF is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.6% C 0.130 H 298.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A587DF
RGBrgb(165, 135, 223)
HSLhsl(260, 58%, 70%)
HSVhsv(260, 39%, 87%)
CMYKcmyk(26%, 39.5%, 0%, 12.5%)
CIE-LABlab(62.22, 29.58, -40.78)
CIE-LCHlch(62.22, 50.38, 305.95°)
OKLaboklab(68.61% 0.0621 -0.1137)
OKLCHoklch(68.61% 0.13 298.6)
XYZxyz(37.4972, 30.6547, 73.7392)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587DF #C1DF87
analogous
#8795DF #A587DF #D187DF
triadic
#A587DF #DFA587 #87DFA5
tetradic
#A587DF #DF8795 #C1DF87 #87DFD1
square
#A587DF #DF8795 #C1DF87 #87DFD1
split-complementary
#A587DF #DFD187 #95DF87
monochromatic
#6032BA #8157D2 #A587DF #C9B7EC #EDE7F9

Accessibility & contrast

On white

2.94
#A587DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#A587DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587DF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587DF#FFFFFF#000000##000000
##A587DF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#9A96A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a587df;
/* rgb */ color: rgb(165, 135, 223);
/* oklch */ color: oklch(68.6% 0.130 298.6);
Tailwind
colors: {
  custom: {
    50: '#c1aae9',
    500: '#a587df',
    950: '#000000',
  },
}
SCSS
$custom: #a587df;
$custom-light: #c1aae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a587df",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 260.455,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68605,
    "c": 0.12958,
    "h": 298.6
  },
  "luminance": 0.30655
}

Semantic roles & 50–950 ramp

primary
#A587DF
secondary
#E5EDD5
accent
#C5208D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A587DF

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

Preview Lab → · Contrast checker → · Palette generator →

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