#A658CB#A658CB

#A658CB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.0% C 0.181 H 313.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A658CB
RGBrgb(166, 88, 203)
HSLhsl(281, 53%, 57%)
HSVhsv(281, 57%, 80%)
CMYKcmyk(18.2%, 56.7%, 0%, 20.4%)
CIE-LABlab(51.15, 50.96, -46.95)
CIE-LCHlch(51.15, 69.30, 317.34°)
OKLaboklab(60.05% 0.125 -0.1315)
OKLCHoklch(60.05% 0.181 313.6)
XYZxyz(29.9933, 19.3991, 58.6527)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658CB #7DCB58
analogous
#6D58CB #A658CB #CB58B6
triadic
#A658CB #CBA658 #58CBA6
tetradic
#A658CB #CB6D58 #7DCB58 #58B6CB
square
#A658CB #CB6D58 #7DCB58 #58B6CB
split-complementary
#A658CB #B6CB58 #58CB6D
monochromatic
#642881 #8837AF #A658CB #BF87DA #D8B5E8

Accessibility & contrast

On white

4.30
#A658CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A658CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658CB#FFFFFF#000000##000000
##A658CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#A36C89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a658cb;
/* rgb */ color: rgb(166, 88, 203);
/* oklch */ color: oklch(60.0% 0.181 313.6);
Tailwind
colors: {
  custom: {
    50: '#c38bdb',
    500: '#a658cb',
    950: '#000000',
  },
}
SCSS
$custom: #a658cb;
$custom-light: #c38bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a658cb",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 280.696,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.18142,
    "h": 313.6
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#A658CB
secondary
#B7D7A8
accent
#DC4C7A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A658CB

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

Preview Lab → · Contrast checker → · Palette generator →

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