#813296#813296

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

Color values

HEX#813296
RGBrgb(129, 50, 150)
HSLhsl(287, 50%, 39%)
HSVhsv(287, 67%, 59%)
CMYKcmyk(14%, 66.7%, 0%, 41.2%)
CIE-LABlab(36.27, 49.01, -39.71)
CIE-LCHlch(36.27, 63.08, 320.99°)
OKLaboklab(47.19% 0.1258 -0.1111)
OKLCHoklch(47.19% 0.168 318.5)
XYZxyz(15.6981, 9.1510, 29.7877)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813296 #479632
analogous
#4F3296 #813296 #963279
triadic
#813296 #968132 #329681
tetradic
#813296 #964F32 #479632 #327996
square
#813296 #964F32 #479632 #327996
split-complementary
#813296 #799632 #32964F
monochromatic
#32133A #5A2368 #813296 #A744C1 #BC72D0

Accessibility & contrast

On white

7.42
#813296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#813296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813296
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813296#FFFFFF#000000##FFFFFF
##8132961.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5099
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#814460
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #813296;
/* rgb */ color: rgb(129, 50, 150);
/* oklch */ color: oklch(47.2% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#a970b5',
    500: '#813296',
    950: '#000000',
  },
}
SCSS
$custom: #813296;
$custom-light: #a970b5;
$custom-dark: #000000;
JSON
{
  "hex": "#813296",
  "rgb": {
    "r": 129,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 287.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.16782,
    "h": 318.5
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#813296
secondary
#7CB86C
accent
#DA4E6C
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813296

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

Preview Lab → · Contrast checker → · Palette generator →

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