#852997#852997

#852997 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.182 H 320.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#852997
RGBrgb(133, 41, 151)
HSLhsl(290, 57%, 38%)
HSVhsv(290, 73%, 59%)
CMYKcmyk(11.9%, 72.8%, 0%, 40.8%)
CIE-LABlab(35.61, 53.91, -41.34)
CIE-LCHlch(35.61, 67.93, 322.52°)
OKLaboklab(46.86% 0.1407 -0.1157)
OKLCHoklch(46.86% 0.182 320.6)
XYZxyz(16.0511, 8.8076, 30.1267)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852997 #3B9729
analogous
#4E2997 #852997 #972972
triadic
#852997 #978529 #299785
tetradic
#852997 #974E29 #3B9729 #297297
square
#852997 #974E29 #3B9729 #297297
split-complementary
#852997 #729729 #29974E
monochromatic
#300F37 #5B1C67 #852997 #AF36C7 #C365D5

Accessibility & contrast

On white

7.60
#852997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#852997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852997
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852997#FFFFFF#000000##FFFFFF
##8529971.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#863E5D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #852997;
/* rgb */ color: rgb(133, 41, 151);
/* oklch */ color: oklch(46.9% 0.182 320.6);
Tailwind
colors: {
  custom: {
    50: '#ac6cb6',
    500: '#852997',
    950: '#000000',
  },
}
SCSS
$custom: #852997;
$custom-light: #ac6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#852997",
  "rgb": {
    "r": 133,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 290.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.18216,
    "h": 320.6
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#852997
secondary
#6FBB61
accent
#E14760
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852997

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

Preview Lab → · Contrast checker → · Palette generator →

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