#852797#852797

#852797 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.184 H 320.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#852797
RGBrgb(133, 39, 151)
HSLhsl(290, 59%, 37%)
HSVhsv(290, 74%, 59%)
CMYKcmyk(11.9%, 74.2%, 0%, 40.8%)
CIE-LABlab(35.35, 54.66, -41.76)
CIE-LCHlch(35.35, 68.79, 322.62°)
OKLaboklab(46.67% 0.1427 -0.117)
OKLCHoklch(46.67% 0.184 320.7)
XYZxyz(15.9836, 8.6728, 30.1043)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852797 #399727
analogous
#4D2797 #852797 #972771
triadic
#852797 #978527 #279785
tetradic
#852797 #974D27 #399727 #277197
square
#852797 #974D27 #399727 #277197
split-complementary
#852797 #719727 #27974D
monochromatic
#2F0E36 #5A1A66 #852797 #B034C8 #C462D6

Accessibility & contrast

On white

7.68
#852797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#852797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852797
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852797#FFFFFF#000000##FFFFFF
##8527971.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#863D5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #852797;
/* rgb */ color: rgb(133, 39, 151);
/* oklch */ color: oklch(46.7% 0.184 320.7);
Tailwind
colors: {
  custom: {
    50: '#ac6bb6',
    500: '#852797',
    950: '#000000',
  },
}
SCSS
$custom: #852797;
$custom-light: #ac6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#852797",
  "rgb": {
    "r": 133,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 290.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.18449,
    "h": 320.7
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#852797
secondary
#6DBC5E
accent
#E2465F
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852797

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

Preview Lab → · Contrast checker → · Palette generator →

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