#A585EB#A585EB

#A585EB is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.9% C 0.149 H 296.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A585EB
RGBrgb(165, 133, 235)
HSLhsl(259, 72%, 72%)
HSVhsv(259, 43%, 92%)
CMYKcmyk(29.8%, 43.4%, 0%, 7.8%)
CIE-LABlab(62.31, 33.65, -47.28)
CIE-LCHlch(62.31, 58.04, 305.44°)
OKLaboklab(68.87% 0.0669 -0.1326)
OKLCHoklch(68.87% 0.149 296.8)
XYZxyz(38.8963, 30.7721, 82.4715)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A585EB #CBEB85
analogous
#8598EB #A585EB #D885EB
triadic
#A585EB #EBA585 #85EBA5
tetradic
#A585EB #EB8598 #CBEB85 #85EBD8
square
#A585EB #EB8598 #CBEB85 #85EBD8
split-complementary
#A585EB #EBD885 #98EB85
monochromatic
#5A23D3 #7E50E2 #A585EB #CCBAF4 #ECE5FB

Accessibility & contrast

On white

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

On black

7.15
#A585EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A585EB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A585EB#FFFFFF#000000##000000
##A585EB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#9697AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a585eb;
/* rgb */ color: rgb(165, 133, 235);
/* oklch */ color: oklch(68.9% 0.149 296.8);
Tailwind
colors: {
  custom: {
    50: '#c2a9f2',
    500: '#a585eb',
    950: '#000000',
  },
}
SCSS
$custom: #a585eb;
$custom-light: #c2a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a585eb",
  "rgb": {
    "r": 165,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 258.824,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.14852,
    "h": 296.8
  },
  "luminance": 0.30773
}

Semantic roles & 50–950 ramp

primary
#A585EB
secondary
#EAF2D9
accent
#D41297
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A585EB

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

Preview Lab → · Contrast checker → · Palette generator →

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