#823788#823788

#823788 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.1% C 0.147 H 324.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#823788
RGBrgb(130, 55, 136)
HSLhsl(296, 42%, 37%)
HSVhsv(296, 60%, 53%)
CMYKcmyk(4.4%, 59.6%, 0%, 46.7%)
CIE-LABlab(36.47, 44.12, -30.82)
CIE-LCHlch(36.47, 53.81, 325.07°)
OKLaboklab(47.1% 0.1202 -0.0853)
OKLCHoklch(47.1% 0.147 324.6)
XYZxyz(15.0157, 9.2566, 24.2836)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823788 #3D8837
analogous
#5A3788 #823788 #883765
triadic
#823788 #888237 #378882
tetradic
#823788 #885A37 #3D8837 #376588
square
#823788 #885A37 #3D8837 #376588
split-complementary
#823788 #658837 #37885A
monochromatic
#2F1431 #58255C #823788 #AC49B4 #C073C6

Accessibility & contrast

On white

7.37
#823788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#823788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #823788
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823788#FFFFFF#000000##FFFFFF
##8237881.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#455986
Tritanopia (blue-blind)
#85425A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #823788;
/* rgb */ color: rgb(130, 55, 136);
/* oklch */ color: oklch(47.1% 0.147 324.6);
Tailwind
colors: {
  custom: {
    50: '#a972ab',
    500: '#823788',
    950: '#000000',
  },
}
SCSS
$custom: #823788;
$custom-light: #a972ab;
$custom-dark: #000000;
JSON
{
  "hex": "#823788",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 295.556,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.14736,
    "h": 324.6
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#823788
secondary
#71AF6C
accent
#D2565F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #823788

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

Preview Lab → · Contrast checker → · Palette generator →

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