#822298#822298

#822298 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.190 H 319.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#822298
RGBrgb(130, 34, 152)
HSLhsl(289, 63%, 36%)
HSVhsv(289, 78%, 60%)
CMYKcmyk(14.5%, 77.6%, 0%, 40.4%)
CIE-LABlab(34.31, 56.00, -44.07)
CIE-LCHlch(34.31, 71.26, 321.80°)
OKLaboklab(45.86% 0.1436 -0.1237)
OKLCHoklch(45.86% 0.19 319.2)
XYZxyz(15.4447, 8.1576, 30.4607)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822298 #389822
analogous
#472298 #822298 #982273
triadic
#822298 #988222 #229882
tetradic
#822298 #984722 #389822 #227398
square
#822298 #984722 #389822 #227398
split-complementary
#822298 #739822 #229847
monochromatic
#2C0C34 #571766 #822298 #AD2DCA #C25ADA

Accessibility & contrast

On white

7.98
#822298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#822298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822298
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822298#FFFFFF#000000##FFFFFF
##8222981.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#2B5495
Tritanopia (blue-blind)
#823B5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822298;
/* rgb */ color: rgb(130, 34, 152);
/* oklch */ color: oklch(45.9% 0.190 319.2);
Tailwind
colors: {
  custom: {
    50: '#aa69b7',
    500: '#822298',
    950: '#000000',
  },
}
SCSS
$custom: #822298;
$custom-light: #aa69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#822298",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 288.814,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.18956,
    "h": 319.2
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#822298
secondary
#6BBE57
accent
#E64160
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822298

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

Preview Lab → · Contrast checker → · Palette generator →

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