#A658B3#A658B3

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

Color values

HEX#A658B3
RGBrgb(166, 88, 179)
HSLhsl(291, 37%, 52%)
HSVhsv(291, 51%, 70%)
CMYKcmyk(7.3%, 50.8%, 0%, 29.8%)
CIE-LABlab(49.91, 46.01, -35.05)
CIE-LCHlch(49.91, 57.84, 322.70°)
OKLaboklab(58.73% 0.1229 -0.0969)
OKLCHoklch(58.73% 0.156 321.7)
XYZxyz(27.3514, 18.3423, 44.7388)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658B3 #65B358
analogous
#7958B3 #A658B3 #B35892
triadic
#A658B3 #B3A658 #58B3A6
tetradic
#A658B3 #B37958 #65B358 #5892B3
square
#A658B3 #B37958 #65B358 #5892B3
split-complementary
#A658B3 #92B358 #58B379
monochromatic
#5C2D63 #82408D #A658B3 #BC82C6 #D3ACD9

Accessibility & contrast

On white

4.50
#A658B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A658B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658B3#FFFFFF#000000##000000
##A658B31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a658b3;
/* rgb */ color: rgb(166, 88, 179);
/* oklch */ color: oklch(58.7% 0.156 321.7);
Tailwind
colors: {
  custom: {
    50: '#c28aca',
    500: '#a658b3',
    950: '#000000',
  },
}
SCSS
$custom: #a658b3;
$custom-light: #c28aca;
$custom-dark: #000000;
JSON
{
  "hex": "#a658b3",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 291.429,
    "s": 37.449,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.15648,
    "h": 321.7
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#A658B3
secondary
#A5C7A0
accent
#CD5A6B
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A658B3

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

Preview Lab → · Contrast checker → · Palette generator →

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