#823EA4#823EA4

#823EA4 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.7% C 0.165 H 312.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#823EA4
RGBrgb(130, 62, 164)
HSLhsl(280, 45%, 44%)
HSVhsv(280, 62%, 64%)
CMYKcmyk(20.7%, 62.2%, 0%, 35.7%)
CIE-LABlab(39.36, 46.50, -43.20)
CIE-LCHlch(39.36, 63.48, 317.11°)
OKLaboklab(49.73% 0.112 -0.1214)
OKLCHoklch(49.73% 0.165 312.7)
XYZxyz(17.6282, 10.8719, 36.2846)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EA4 #60A43E
analogous
#4F3EA4 #823EA4 #A43E93
triadic
#823EA4 #A4823E #3EA482
tetradic
#823EA4 #A44F3E #60A43E #3E93A4
square
#823EA4 #A44F3E #60A43E #3E93A4
split-complementary
#823EA4 #93A43E #3EA44F
monochromatic
#3C1C4B #5F2D78 #823EA4 #A05DC2 #BA8AD3

Accessibility & contrast

On white

6.62
#823EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#823EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EA4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EA4#FFFFFF#000000##FFFFFF
##823EA41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A7
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#7E516B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #823ea4;
/* rgb */ color: rgb(130, 62, 164);
/* oklch */ color: oklch(49.7% 0.165 312.7);
Tailwind
colors: {
  custom: {
    50: '#a977bf',
    500: '#823ea4',
    950: '#000000',
  },
}
SCSS
$custom: #823ea4;
$custom-light: #a977bf;
$custom-dark: #000000;
JSON
{
  "hex": "#823ea4",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 280,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.1652,
    "h": 312.7
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#823EA4
secondary
#95BD81
accent
#D5537E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #823EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#823EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva