#A823B1#A823B1

#A823B1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.224 H 325.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A823B1
RGBrgb(168, 35, 177)
HSLhsl(296, 67%, 42%)
HSVhsv(296, 80%, 69%)
CMYKcmyk(5.1%, 80.2%, 0%, 30.6%)
CIE-LABlab(42.31, 67.66, -45.90)
CIE-LCHlch(42.31, 81.76, 325.85°)
OKLaboklab(53.25% 0.1843 -0.128)
OKLCHoklch(53.25% 0.224 325.2)
XYZxyz(24.6847, 12.7029, 42.7382)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A823B1 #2CB123
analogous
#6123B1 #A823B1 #B12373
triadic
#A823B1 #B1A823 #23B1A8
tetradic
#A823B1 #B16123 #2CB123 #2373B1
square
#A823B1 #B16123 #2CB123 #2373B1
split-complementary
#A823B1 #73B123 #23B161
monochromatic
#470F4B #78197E #A823B1 #CE39D8 #DB6CE2

Accessibility & contrast

On white

5.93
#A823B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A823B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A823B1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A823B1#FFFFFF#000000##FFFFFF
##A823B11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#AC3F6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a823b1;
/* rgb */ color: rgb(168, 35, 177);
/* oklch */ color: oklch(53.3% 0.224 325.2);
Tailwind
colors: {
  custom: {
    50: '#c670c9',
    500: '#a823b1',
    950: '#000000',
  },
}
SCSS
$custom: #a823b1;
$custom-light: #c670c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a823b1",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 296.197,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.22434,
    "h": 325.2
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#A823B1
secondary
#6EC868
accent
#EA3E49
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A823B1

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

Preview Lab → · Contrast checker → · Palette generator →

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