#A658BC#A658BC

#A658BC is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.2% C 0.166 H 318.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A658BC
RGBrgb(166, 88, 188)
HSLhsl(287, 43%, 54%)
HSVhsv(287, 53%, 74%)
CMYKcmyk(11.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(50.36, 47.83, -39.57)
CIE-LCHlch(50.36, 62.08, 320.39°)
OKLaboklab(59.21% 0.1239 -0.11)
OKLCHoklch(59.21% 0.166 318.4)
XYZxyz(28.2915, 18.7183, 49.6899)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658BC #6EBC58
analogous
#7458BC #A658BC #BC58A0
triadic
#A658BC #BCA658 #58BCA6
tetradic
#A658BC #BC7458 #6EBC58 #58A0BC
square
#A658BC #BC7458 #6EBC58 #58A0BC
split-complementary
#A658BC #A0BC58 #58BC74
monochromatic
#5F2C6E #853E99 #A658BC #BD84CE #D5AFDF

Accessibility & contrast

On white

4.43
#A658BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A658BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658BC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658BC#FFFFFF#000000##000000
##A658BC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#A66782
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a658bc;
/* rgb */ color: rgb(166, 88, 188);
/* oklch */ color: oklch(59.2% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#c38ad0',
    500: '#a658bc',
    950: '#000000',
  },
}
SCSS
$custom: #a658bc;
$custom-light: #c38ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a658bc",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 286.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.1657,
    "h": 318.4
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#A658BC
secondary
#ACCDA3
accent
#D35571
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A658BC

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

Preview Lab → · Contrast checker → · Palette generator →

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