#852198#852198

#852198 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.192 H 320.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#852198
RGBrgb(133, 33, 152)
HSLhsl(290, 64%, 36%)
HSVhsv(290, 78%, 60%)
CMYKcmyk(12.5%, 78.3%, 0%, 40.4%)
CIE-LABlab(34.69, 56.93, -43.43)
CIE-LCHlch(34.69, 71.61, 322.66°)
OKLaboklab(46.22% 0.1481 -0.1218)
OKLCHoklch(46.22% 0.192 320.6)
XYZxyz(15.8835, 8.3421, 30.4732)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852198 #349821
analogous
#4A2198 #852198 #982170
triadic
#852198 #988521 #219885
tetradic
#852198 #984A21 #349821 #217098
square
#852198 #984A21 #349821 #217098
split-complementary
#852198 #709821 #21984A
monochromatic
#2D0B33 #591666 #852198 #B12CCA #C659DB

Accessibility & contrast

On white

7.87
#852198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#852198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852198
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852198#FFFFFF#000000##FFFFFF
##8521981.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#2E5595
Tritanopia (blue-blind)
#863A5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852198;
/* rgb */ color: rgb(133, 33, 152);
/* oklch */ color: oklch(46.2% 0.192 320.6);
Tailwind
colors: {
  custom: {
    50: '#ac69b7',
    500: '#852198',
    950: '#000000',
  },
}
SCSS
$custom: #852198;
$custom-light: #ac69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#852198",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 290.42,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.19178,
    "h": 320.6
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#852198
secondary
#67BF56
accent
#E7405B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852198

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

Preview Lab → · Contrast checker → · Palette generator →

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