#823EA5#823EA5

#823EA5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.166 H 312.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#823EA5
RGBrgb(130, 62, 165)
HSLhsl(280, 45%, 45%)
HSVhsv(280, 62%, 65%)
CMYKcmyk(21.2%, 62.4%, 0%, 35.3%)
CIE-LABlab(39.43, 46.73, -43.70)
CIE-LCHlch(39.43, 63.98, 316.91°)
OKLaboklab(49.79% 0.112 -0.1229)
OKLCHoklch(49.79% 0.166 312.3)
XYZxyz(17.7189, 10.9081, 36.7621)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EA5 #61A53E
analogous
#4F3EA5 #823EA5 #A53E94
triadic
#823EA5 #A5823E #3EA582
tetradic
#823EA5 #A54F3E #61A53E #3E94A5
square
#823EA5 #A54F3E #61A53E #3E94A5
split-complementary
#823EA5 #94A53E #3EA54F
monochromatic
#3C1D4C #5F2D79 #823EA5 #A05EC2 #BA8AD3

Accessibility & contrast

On white

6.60
#823EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#823EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EA5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EA5#FFFFFF#000000##FFFFFF
##823EA51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#375EA3
Tritanopia (blue-blind)
#7E516C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #823ea5;
/* rgb */ color: rgb(130, 62, 165);
/* oklch */ color: oklch(49.8% 0.166 312.3);
Tailwind
colors: {
  custom: {
    50: '#a977c0',
    500: '#823ea5',
    950: '#000000',
  },
}
SCSS
$custom: #823ea5;
$custom-light: #a977c0;
$custom-dark: #000000;
JSON
{
  "hex": "#823ea5",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 279.612,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.16626,
    "h": 312.3
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#823EA5
secondary
#96BE81
accent
#D5537F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #823EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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