#822894#822894

#822894 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.179 H 320.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#822894
RGBrgb(130, 40, 148)
HSLhsl(290, 57%, 37%)
HSVhsv(290, 73%, 58%)
CMYKcmyk(12.2%, 73%, 0%, 42%)
CIE-LABlab(34.81, 53.05, -40.82)
CIE-LCHlch(34.81, 66.94, 322.42°)
OKLaboklab(46.13% 0.1382 -0.1143)
OKLCHoklch(46.13% 0.179 320.4)
XYZxyz(15.3094, 8.4023, 28.8266)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822894 #3A9428
analogous
#4C2894 #822894 #942870
triadic
#822894 #948228 #289482
tetradic
#822894 #944C28 #3A9428 #287094
square
#822894 #944C28 #3A9428 #287094
split-complementary
#822894 #709428 #28944C
monochromatic
#2D0E34 #581B64 #822894 #AC35C4 #C162D5

Accessibility & contrast

On white

7.83
#822894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#822894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822894
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822894#FFFFFF#000000##FFFFFF
##8228941.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#833D5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822894;
/* rgb */ color: rgb(130, 40, 148);
/* oklch */ color: oklch(46.1% 0.179 320.4);
Tailwind
colors: {
  custom: {
    50: '#aa6bb4',
    500: '#822894',
    950: '#000000',
  },
}
SCSS
$custom: #822894;
$custom-light: #aa6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#822894",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 290,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.17936,
    "h": 320.4
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#822894
secondary
#6DBA5E
accent
#E14761
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822894

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

Preview Lab → · Contrast checker → · Palette generator →

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