#823397#823397

#823397 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.168 H 318.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#823397
RGBrgb(130, 51, 151)
HSLhsl(287, 50%, 40%)
HSVhsv(287, 66%, 59%)
CMYKcmyk(13.9%, 66.2%, 0%, 40.8%)
CIE-LABlab(36.65, 49.01, -39.71)
CIE-LCHlch(36.65, 63.08, 320.98°)
OKLaboklab(47.51% 0.1258 -0.1111)
OKLCHoklch(47.51% 0.168 318.5)
XYZxyz(15.9749, 9.3485, 30.2351)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823397 #489733
analogous
#503397 #823397 #97337A
triadic
#823397 #978233 #339782
tetradic
#823397 #975033 #489733 #337A97
square
#823397 #975033 #489733 #337A97
split-complementary
#823397 #7A9733 #339750
monochromatic
#33143C #5B2469 #823397 #A747C1 #BD74D0

Accessibility & contrast

On white

7.32
#823397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#823397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #823397
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823397#FFFFFF#000000##FFFFFF
##8233971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#824560
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #823397;
/* rgb */ color: rgb(130, 51, 151);
/* oklch */ color: oklch(47.5% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#a971b6',
    500: '#823397',
    950: '#000000',
  },
}
SCSS
$custom: #823397;
$custom-light: #a971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#823397",
  "rgb": {
    "r": 130,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 287.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.16786,
    "h": 318.5
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#823397
secondary
#7DB86D
accent
#D94F6C
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #823397

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

Preview Lab → · Contrast checker → · Palette generator →

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