#823EA2#823EA2

#823EA2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.163 H 313.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#823EA2
RGBrgb(130, 62, 162)
HSLhsl(281, 45%, 44%)
HSVhsv(281, 62%, 64%)
CMYKcmyk(19.8%, 61.7%, 0%, 36.5%)
CIE-LABlab(39.24, 46.06, -42.20)
CIE-LCHlch(39.24, 62.47, 317.50°)
OKLaboklab(49.6% 0.112 -0.1185)
OKLCHoklch(49.6% 0.163 313.4)
XYZxyz(17.4490, 10.8002, 35.3409)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EA2 #5EA23E
analogous
#503EA2 #823EA2 #A23E90
triadic
#823EA2 #A2823E #3EA282
tetradic
#823EA2 #A2503E #5EA23E #3E90A2
square
#823EA2 #A2503E #5EA23E #3E90A2
split-complementary
#823EA2 #90A23E #3EA250
monochromatic
#3B1C49 #5E2D76 #823EA2 #A15CC1 #BA89D2

Accessibility & contrast

On white

6.65
#823EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#823EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EA2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EA2#FFFFFF#000000##FFFFFF
##823EA21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#7F506A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #823ea2;
/* rgb */ color: rgb(130, 62, 162);
/* oklch */ color: oklch(49.6% 0.163 313.4);
Tailwind
colors: {
  custom: {
    50: '#a977be',
    500: '#823ea2',
    950: '#000000',
  },
}
SCSS
$custom: #823ea2;
$custom-light: #a977be;
$custom-dark: #000000;
JSON
{
  "hex": "#823ea2",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 280.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.16306,
    "h": 313.4
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#823EA2
secondary
#93BC80
accent
#D4537D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #823EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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