#823398#823398

#823398 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.169 H 318.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#823398
RGBrgb(130, 51, 152)
HSLhsl(287, 50%, 40%)
HSVhsv(287, 66%, 60%)
CMYKcmyk(14.5%, 66.4%, 0%, 40.4%)
CIE-LABlab(36.71, 49.21, -40.22)
CIE-LCHlch(36.71, 63.56, 320.74°)
OKLaboklab(47.57% 0.1258 -0.1126)
OKLCHoklch(47.57% 0.169 318.2)
XYZxyz(16.0565, 9.3812, 30.6646)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823398 #499833
analogous
#503398 #823398 #98337B
triadic
#823398 #988233 #339882
tetradic
#823398 #985033 #499833 #337B98
square
#823398 #985033 #499833 #337B98
split-complementary
#823398 #7B9833 #339850
monochromatic
#34143C #5B246A #823398 #A747C1 #BD75D1

Accessibility & contrast

On white

7.30
#823398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#823398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #823398
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823398#FFFFFF#000000##FFFFFF
##8233981.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519B
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#824561
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #823398;
/* rgb */ color: rgb(130, 51, 152);
/* oklch */ color: oklch(47.6% 0.169 318.2);
Tailwind
colors: {
  custom: {
    50: '#a971b7',
    500: '#823398',
    950: '#000000',
  },
}
SCSS
$custom: #823398;
$custom-light: #a971b7;
$custom-dark: #000000;
JSON
{
  "hex": "#823398",
  "rgb": {
    "r": 130,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 286.931,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.16883,
    "h": 318.2
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#823398
secondary
#7EB96E
accent
#D94F6D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #823398

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

Preview Lab → · Contrast checker → · Palette generator →

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