#A588EC#A588EC

#A588EC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.145 H 295.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A588EC
RGBrgb(165, 136, 236)
HSLhsl(257, 72%, 73%)
HSVhsv(257, 42%, 93%)
CMYKcmyk(30.1%, 42.4%, 0%, 7.5%)
CIE-LABlab(63.06, 32.20, -46.66)
CIE-LCHlch(63.06, 56.69, 304.61°)
OKLaboklab(69.45% 0.0631 -0.1308)
OKLCHoklch(69.45% 0.145 295.7)
XYZxyz(39.4578, 31.6632, 83.3734)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A588EC #CFEC88
analogous
#889DEC #A588EC #D788EC
triadic
#A588EC #ECA588 #88ECA5
tetradic
#A588EC #EC889D #CFEC88 #88ECD7
square
#A588EC #EC889D #CFEC88 #88ECD7
split-complementary
#A588EC #ECD788 #9DEC88
monochromatic
#5722D7 #7D53E4 #A588EC #CDBDF4 #EBE5FB

Accessibility & contrast

On white

2.86
#A588EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#A588EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A588EC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A588EC#FFFFFF#000000##000000
##A588EC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#6F97EA
Tritanopia (blue-blind)
#969AAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a588ec;
/* rgb */ color: rgb(165, 136, 236);
/* oklch */ color: oklch(69.4% 0.145 295.7);
Tailwind
colors: {
  custom: {
    50: '#c2abf2',
    500: '#a588ec',
    950: '#000000',
  },
}
SCSS
$custom: #a588ec;
$custom-light: #c2abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a588ec",
  "rgb": {
    "r": 165,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 257.4,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69448,
    "c": 0.14518,
    "h": 295.7
  },
  "luminance": 0.31664
}

Semantic roles & 50–950 ramp

primary
#A588EC
secondary
#EBF2D9
accent
#D5119C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A588EC

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

Preview Lab → · Contrast checker → · Palette generator →

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