#823CA2#823CA2

#823CA2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.3% C 0.166 H 313.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#823CA2
RGBrgb(130, 60, 162)
HSLhsl(281, 46%, 44%)
HSVhsv(281, 63%, 64%)
CMYKcmyk(19.8%, 63%, 0%, 36.5%)
CIE-LABlab(38.88, 47.06, -42.79)
CIE-LCHlch(38.88, 63.60, 317.72°)
OKLaboklab(49.33% 0.1146 -0.1202)
OKLCHoklch(49.33% 0.166 313.6)
XYZxyz(17.3423, 10.5867, 35.3053)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823CA2 #5CA23C
analogous
#4F3CA2 #823CA2 #A23C8F
triadic
#823CA2 #A2823C #3CA282
tetradic
#823CA2 #A24F3C #5CA23C #3C8FA2
square
#823CA2 #A24F3C #5CA23C #3C8FA2
split-complementary
#823CA2 #8FA23C #3CA24F
monochromatic
#3A1B49 #5E2B75 #823CA2 #A159C2 #BA86D2

Accessibility & contrast

On white

6.74
#823CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#823CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823CA2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823CA2#FFFFFF#000000##FFFFFF
##823CA21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#7F4F69
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #823ca2;
/* rgb */ color: rgb(130, 60, 162);
/* oklch */ color: oklch(49.3% 0.166 313.6);
Tailwind
colors: {
  custom: {
    50: '#a976be',
    500: '#823ca2',
    950: '#000000',
  },
}
SCSS
$custom: #823ca2;
$custom-light: #a976be;
$custom-dark: #000000;
JSON
{
  "hex": "#823ca2",
  "rgb": {
    "r": 130,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 281.176,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49333,
    "c": 0.16604,
    "h": 313.6
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#823CA2
secondary
#91BC7D
accent
#D6527B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #823CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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