#A585EC#A585EC

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

Color values

HEX#A585EC
RGBrgb(165, 133, 236)
HSLhsl(259, 73%, 72%)
HSVhsv(259, 44%, 93%)
CMYKcmyk(30.1%, 43.6%, 0%, 7.5%)
CIE-LABlab(62.36, 33.90, -47.76)
CIE-LCHlch(62.36, 58.57, 305.37°)
OKLaboklab(68.92% 0.0671 -0.134)
OKLCHoklch(68.92% 0.15 296.6)
XYZxyz(39.0412, 30.8300, 83.2345)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A585EC #CCEC85
analogous
#8598EC #A585EC #D985EC
triadic
#A585EC #ECA585 #85ECA5
tetradic
#A585EC #EC8598 #CCEC85 #85ECD9
square
#A585EC #EC8598 #CCEC85 #85ECD9
split-complementary
#A585EC #ECD985 #98EC85
monochromatic
#5921D5 #7E50E4 #A585EC #CCBAF4 #EBE5FB

Accessibility & contrast

On white

2.93
#A585EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A585EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A585EC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A585EC#FFFFFF#000000##000000
##A585EC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#6C96E9
Tritanopia (blue-blind)
#9698AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a585ec;
/* rgb */ color: rgb(165, 133, 236);
/* oklch */ color: oklch(68.9% 0.150 296.6);
Tailwind
colors: {
  custom: {
    50: '#c2a9f2',
    500: '#a585ec',
    950: '#000000',
  },
}
SCSS
$custom: #a585ec;
$custom-light: #c2a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a585ec",
  "rgb": {
    "r": 165,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 258.641,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6892,
    "c": 0.14983,
    "h": 296.6
  },
  "luminance": 0.30831
}

Semantic roles & 50–950 ramp

primary
#A585EC
secondary
#EAF3D8
accent
#D51098
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A585EC

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

Preview Lab → · Contrast checker → · Palette generator →

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