#A623A8#A623A8

#A623A8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.217 H 327.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A623A8
RGBrgb(166, 35, 168)
HSLhsl(299, 66%, 40%)
HSVhsv(299, 79%, 66%)
CMYKcmyk(1.2%, 79.2%, 0%, 34.1%)
CIE-LABlab(41.43, 65.79, -41.97)
CIE-LCHlch(41.43, 78.03, 327.46°)
OKLaboklab(52.39% 0.1827 -0.1166)
OKLCHoklch(52.39% 0.217 327.5)
XYZxyz(23.3945, 12.1379, 38.1489)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A623A8 #25A823
analogous
#6423A8 #A623A8 #A82367
triadic
#A623A8 #A8A623 #23A8A6
tetradic
#A623A8 #A86423 #25A823 #2367A8
square
#A623A8 #A86423 #25A823 #2367A8
split-complementary
#A623A8 #67A823 #23A864
monochromatic
#420E43 #741875 #A623A8 #D234D5 #DD66DF

Accessibility & contrast

On white

6.13
#A623A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A623A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A623A8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A623A8#FFFFFF#000000##FFFFFF
##A623A81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#AB3B66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a623a8;
/* rgb */ color: rgb(166, 35, 168);
/* oklch */ color: oklch(52.4% 0.217 327.5);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a623a8',
    950: '#000000',
  },
}
SCSS
$custom: #a623a8;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a623a8",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 299.098,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.2167,
    "h": 327.5
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

primary
#A623A8
secondary
#64C562
accent
#E83F42
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A623A8

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

Preview Lab → · Contrast checker → · Palette generator →

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