#A658B2#A658B2

#A658B2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.155 H 322.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A658B2
RGBrgb(166, 88, 178)
HSLhsl(292, 37%, 52%)
HSVhsv(292, 51%, 70%)
CMYKcmyk(6.7%, 50.6%, 0%, 30.2%)
CIE-LABlab(49.86, 45.82, -34.54)
CIE-LCHlch(49.86, 57.38, 322.99°)
OKLaboklab(58.68% 0.1227 -0.0954)
OKLCHoklch(58.68% 0.155 322.1)
XYZxyz(27.2506, 18.3020, 44.2081)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658B2 #64B258
analogous
#7958B2 #A658B2 #B25891
triadic
#A658B2 #B2A658 #58B2A6
tetradic
#A658B2 #B27958 #64B258 #5891B2
square
#A658B2 #B27958 #64B258 #5891B2
split-complementary
#A658B2 #91B258 #58B279
monochromatic
#5B2D62 #82418C #A658B2 #BC82C5 #D3ACD9

Accessibility & contrast

On white

4.51
#A658B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A658B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658B2#FFFFFF#000000##000000
##A658B21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#A8647D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a658b2;
/* rgb */ color: rgb(166, 88, 178);
/* oklch */ color: oklch(58.7% 0.155 322.1);
Tailwind
colors: {
  custom: {
    50: '#c28ac9',
    500: '#a658b2',
    950: '#000000',
  },
}
SCSS
$custom: #a658b2;
$custom-light: #c28ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a658b2",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 292,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.15548,
    "h": 322.1
  },
  "luminance": 0.18301
}

Semantic roles & 50–950 ramp

primary
#A658B2
secondary
#A4C79F
accent
#CD5B6A
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A658B2

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

Preview Lab → · Contrast checker → · Palette generator →

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