#A558DB#A558DB

#A558DB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.9% C 0.198 H 308.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A558DB
RGBrgb(165, 88, 219)
HSLhsl(275, 65%, 60%)
HSVhsv(275, 60%, 86%)
CMYKcmyk(24.7%, 59.8%, 0%, 14.1%)
CIE-LABlab(51.94, 54.22, -54.82)
CIE-LCHlch(51.94, 77.10, 314.68°)
OKLaboklab(60.9% 0.1241 -0.1545)
OKLCHoklch(60.9% 0.198 308.8)
XYZxyz(31.7904, 20.0938, 69.2079)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558DB #8EDB58
analogous
#6358DB #A558DB #DB58D0
triadic
#A558DB #DBA558 #58DBA5
tetradic
#A558DB #DB6358 #8EDB58 #58D0DB
square
#A558DB #DB6358 #8EDB58 #58D0DB
split-complementary
#A558DB #D0DB58 #58DB63
monochromatic
#672198 #892CCA #A558DB #C08AE6 #DBBDF1

Accessibility & contrast

On white

4.18
#A558DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A558DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558DB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558DB#FFFFFF#000000##000000
##A558DB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179DF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#9D7191
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a558db;
/* rgb */ color: rgb(165, 88, 219);
/* oklch */ color: oklch(60.9% 0.198 308.8);
Tailwind
colors: {
  custom: {
    50: '#c38be7',
    500: '#a558db',
    950: '#000000',
  },
}
SCSS
$custom: #a558db;
$custom-light: #c38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a558db",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 275.267,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.19814,
    "h": 308.8
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#A558DB
secondary
#C3E1AE
accent
#CC1963
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A558DB

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

Preview Lab → · Contrast checker → · Palette generator →

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