#822F93#822F93

#822F93 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.170 H 320.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#822F93
RGBrgb(130, 47, 147)
HSLhsl(290, 52%, 38%)
HSVhsv(290, 68%, 58%)
CMYKcmyk(11.6%, 68%, 0%, 42.4%)
CIE-LABlab(35.76, 49.98, -38.68)
CIE-LCHlch(35.76, 63.20, 322.26°)
OKLaboklab(46.79% 0.1306 -0.1081)
OKLCHoklch(46.79% 0.17 320.4)
XYZxyz(15.4883, 8.8862, 28.4975)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822F93 #40932F
analogous
#502F93 #822F93 #932F72
triadic
#822F93 #93822F #2F9382
tetradic
#822F93 #93502F #40932F #2F7293
square
#822F93 #93502F #40932F #2F7293
split-complementary
#822F93 #72932F #2F9350
monochromatic
#301136 #592065 #822F93 #AB3EC1 #BF6CD0

Accessibility & contrast

On white

7.56
#822F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#822F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822F93
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822F93#FFFFFF#000000##FFFFFF
##822F931.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#83405D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #822f93;
/* rgb */ color: rgb(130, 47, 147);
/* oklch */ color: oklch(46.8% 0.170 320.4);
Tailwind
colors: {
  custom: {
    50: '#a96eb3',
    500: '#822f93',
    950: '#000000',
  },
}
SCSS
$custom: #822f93;
$custom-light: #a96eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#822f93",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 289.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.16953,
    "h": 320.4
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#822F93
secondary
#74B766
accent
#DB4D65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #822F93

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

Preview Lab → · Contrast checker → · Palette generator →

#822F93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva