#852297#852297

#852297 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.190 H 320.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#852297
RGBrgb(133, 34, 151)
HSLhsl(291, 63%, 36%)
HSVhsv(291, 77%, 59%)
CMYKcmyk(11.9%, 77.5%, 0%, 40.8%)
CIE-LABlab(34.73, 56.42, -42.75)
CIE-LCHlch(34.73, 70.78, 322.85°)
OKLaboklab(46.23% 0.1474 -0.1198)
OKLCHoklch(46.23% 0.19 320.9)
XYZxyz(15.8302, 8.3658, 30.0531)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852297 #349722
analogous
#4B2297 #852297 #97226F
triadic
#852297 #978522 #229785
tetradic
#852297 #974B22 #349722 #226F97
square
#852297 #974B22 #349722 #226F97
split-complementary
#852297 #6F9722 #22974B
monochromatic
#2D0C33 #591765 #852297 #B12DC9 #C65ADA

Accessibility & contrast

On white

7.86
#852297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852297
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852297#FFFFFF#000000##FFFFFF
##8522971.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#863A5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852297;
/* rgb */ color: rgb(133, 34, 151);
/* oklch */ color: oklch(46.2% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#ac69b6',
    500: '#852297',
    950: '#000000',
  },
}
SCSS
$custom: #852297;
$custom-light: #ac69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#852297",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 290.769,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.18991,
    "h": 320.9
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#852297
secondary
#67BE57
accent
#E6425B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852297

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

Preview Lab → · Contrast checker → · Palette generator →

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