#821895#821895

#821895 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.196 H 320.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#821895
RGBrgb(130, 24, 149)
HSLhsl(291, 72%, 34%)
HSVhsv(291, 84%, 58%)
CMYKcmyk(12.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(33.07, 58.43, -44.22)
CIE-LCHlch(33.07, 73.28, 322.88°)
OKLaboklab(44.92% 0.1519 -0.1242)
OKLCHoklch(44.92% 0.196 320.7)
XYZxyz(14.9567, 7.5699, 29.1013)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821895 #2B9518
analogous
#441895 #821895 #95186A
triadic
#821895 #958218 #189582
tetradic
#821895 #954418 #2B9518 #186A95
square
#821895 #954418 #2B9518 #186A95
split-complementary
#821895 #6A9518 #189544
monochromatic
#26072C #541060 #821895 #B020CA #CA46E1

Accessibility & contrast

On white

8.35
#821895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#821895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821895
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821895#FFFFFF#000000##FFFFFF
##8218951.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#285192
Tritanopia (blue-blind)
#833558
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821895;
/* rgb */ color: rgb(130, 24, 149);
/* oklch */ color: oklch(44.9% 0.196 320.7);
Tailwind
colors: {
  custom: {
    50: '#aa65b5',
    500: '#821895',
    950: '#000000',
  },
}
SCSS
$custom: #821895;
$custom-light: #aa65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#821895",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 290.88,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.19619,
    "h": 320.7
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#821895
secondary
#59C246
accent
#EF3955
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #821895

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

Preview Lab → · Contrast checker → · Palette generator →

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