#852799#852799

#852799 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.186 H 319.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#852799
RGBrgb(133, 39, 153)
HSLhsl(289, 59%, 38%)
HSVhsv(289, 75%, 60%)
CMYKcmyk(13.1%, 74.5%, 0%, 40%)
CIE-LABlab(35.48, 55.05, -42.77)
CIE-LCHlch(35.48, 69.71, 322.15°)
OKLaboklab(46.8% 0.1425 -0.1199)
OKLCHoklch(46.8% 0.186 319.9)
XYZxyz(16.1474, 8.7383, 30.9669)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852799 #3B9927
analogous
#4C2799 #852799 #992774
triadic
#852799 #998527 #279985
tetradic
#852799 #994C27 #3B9927 #277499
square
#852799 #994C27 #3B9927 #277499
split-complementary
#852799 #749927 #27994C
monochromatic
#300E37 #5B1B68 #852799 #AF33CA #C363D7

Accessibility & contrast

On white

7.64
#852799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#852799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852799
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852799#FFFFFF#000000##FFFFFF
##8527991.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#315796
Tritanopia (blue-blind)
#853E5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #852799;
/* rgb */ color: rgb(133, 39, 153);
/* oklch */ color: oklch(46.8% 0.186 319.9);
Tailwind
colors: {
  custom: {
    50: '#ac6bb8',
    500: '#852799',
    950: '#000000',
  },
}
SCSS
$custom: #852799;
$custom-light: #ac6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#852799",
  "rgb": {
    "r": 133,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 289.474,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.468,
    "c": 0.18625,
    "h": 319.9
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#852799
secondary
#6FBD5F
accent
#E34561
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852799

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

Preview Lab → · Contrast checker → · Palette generator →

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