#852497#852497

#852497 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.188 H 320.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#852497
RGBrgb(133, 36, 151)
HSLhsl(291, 61%, 37%)
HSVhsv(291, 76%, 59%)
CMYKcmyk(11.9%, 76.2%, 0%, 40.8%)
CIE-LABlab(34.97, 55.74, -42.37)
CIE-LCHlch(34.97, 70.01, 322.76°)
OKLaboklab(46.4% 0.1456 -0.1187)
OKLCHoklch(46.4% 0.188 320.8)
XYZxyz(15.8890, 8.4835, 30.0727)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852497 #369724
analogous
#4C2497 #852497 #972470
triadic
#852497 #978524 #249785
tetradic
#852497 #974C24 #369724 #247097
square
#852497 #974C24 #369724 #247097
split-complementary
#852497 #709724 #24974C
monochromatic
#2E0C34 #591866 #852497 #B130C8 #C55DD8

Accessibility & contrast

On white

7.79
#852497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#852497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852497
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852497#FFFFFF#000000##FFFFFF
##8524971.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#863B5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852497;
/* rgb */ color: rgb(133, 36, 151);
/* oklch */ color: oklch(46.4% 0.188 320.8);
Tailwind
colors: {
  custom: {
    50: '#ac6ab6',
    500: '#852497',
    950: '#000000',
  },
}
SCSS
$custom: #852497;
$custom-light: #ac6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#852497",
  "rgb": {
    "r": 133,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 290.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.18782,
    "h": 320.8
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#852497
secondary
#69BD5A
accent
#E5435C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852497

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

Preview Lab → · Contrast checker → · Palette generator →

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