#A823AF#A823AF

#A823AF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.223 H 325.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A823AF
RGBrgb(168, 35, 175)
HSLhsl(297, 67%, 41%)
HSVhsv(297, 80%, 69%)
CMYKcmyk(4%, 80%, 0%, 31.4%)
CIE-LABlab(42.19, 67.33, -44.91)
CIE-LCHlch(42.19, 80.93, 326.30°)
OKLaboklab(53.13% 0.1844 -0.1251)
OKLCHoklch(53.13% 0.223 325.8)
XYZxyz(24.4868, 12.6237, 41.6960)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A823AF #2AAF23
analogous
#6223AF #A823AF #AF2370
triadic
#A823AF #AFA823 #23AFA8
tetradic
#A823AF #AF6223 #2AAF23 #2370AF
square
#A823AF #AF6223 #2AAF23 #2370AF
split-complementary
#A823AF #70AF23 #23AF62
monochromatic
#460F49 #77197C #A823AF #CF38D7 #DB6BE1

Accessibility & contrast

On white

5.96
#A823AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A823AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A823AF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A823AF#FFFFFF#000000##FFFFFF
##A823AF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#AC3E6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a823af;
/* rgb */ color: rgb(168, 35, 175);
/* oklch */ color: oklch(53.1% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#c66fc7',
    500: '#a823af',
    950: '#000000',
  },
}
SCSS
$custom: #a823af;
$custom-light: #c66fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a823af",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 297,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.22282,
    "h": 325.8
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#A823AF
secondary
#6BC766
accent
#EA3E47
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A823AF

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

Preview Lab → · Contrast checker → · Palette generator →

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