#852498#852498

#852498 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.189 H 320.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#852498
RGBrgb(133, 36, 152)
HSLhsl(290, 62%, 37%)
HSVhsv(290, 76%, 60%)
CMYKcmyk(12.5%, 76.3%, 0%, 40.4%)
CIE-LABlab(35.04, 55.93, -42.87)
CIE-LCHlch(35.04, 70.47, 322.53°)
OKLaboklab(46.47% 0.1455 -0.1202)
OKLCHoklch(46.47% 0.189 320.4)
XYZxyz(15.9706, 8.5161, 30.5022)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852498 #379824
analogous
#4B2498 #852498 #982471
triadic
#852498 #988524 #249885
tetradic
#852498 #984B24 #379824 #247198
square
#852498 #984B24 #379824 #247198
split-complementary
#852498 #719824 #24984B
monochromatic
#2E0D35 #5A1867 #852498 #B030C9 #C55ED9

Accessibility & contrast

On white

7.77
#852498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852498
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852498#FFFFFF#000000##FFFFFF
##8524981.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#863B5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852498;
/* rgb */ color: rgb(133, 36, 152);
/* oklch */ color: oklch(46.5% 0.189 320.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ab7',
    500: '#852498',
    950: '#000000',
  },
}
SCSS
$custom: #852498;
$custom-light: #ac6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#852498",
  "rgb": {
    "r": 133,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 290.172,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46466,
    "c": 0.18868,
    "h": 320.4
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#852498
secondary
#6ABE5A
accent
#E5435E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852498

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

Preview Lab → · Contrast checker → · Palette generator →

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