#823097#823097

#823097 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.172 H 318.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#823097
RGBrgb(130, 48, 151)
HSLhsl(288, 52%, 39%)
HSVhsv(288, 68%, 59%)
CMYKcmyk(13.9%, 68.2%, 0%, 40.8%)
CIE-LABlab(36.17, 50.35, -40.48)
CIE-LCHlch(36.17, 64.60, 321.20°)
OKLaboklab(47.16% 0.1293 -0.1133)
OKLCHoklch(47.16% 0.172 318.8)
XYZxyz(15.8480, 9.0948, 30.1928)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823097 #459730
analogous
#4F3097 #823097 #973079
triadic
#823097 #978230 #309782
tetradic
#823097 #974F30 #459730 #307997
square
#823097 #974F30 #459730 #307997
split-complementary
#823097 #799730 #30974F
monochromatic
#32123A #5A2169 #823097 #A841C3 #BE70D2

Accessibility & contrast

On white

7.45
#823097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#823097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #823097
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823097#FFFFFF#000000##FFFFFF
##8230971.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#82435F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #823097;
/* rgb */ color: rgb(130, 48, 151);
/* oklch */ color: oklch(47.2% 0.172 318.8);
Tailwind
colors: {
  custom: {
    50: '#a96fb6',
    500: '#823097',
    950: '#000000',
  },
}
SCSS
$custom: #823097;
$custom-light: #a96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#823097",
  "rgb": {
    "r": 130,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 287.767,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.17197,
    "h": 318.8
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#823097
secondary
#7AB96A
accent
#DB4D6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #823097

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

Preview Lab → · Contrast checker → · Palette generator →

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