#852BA3#852BA3

#852BA3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.191 H 316.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#852BA3
RGBrgb(133, 43, 163)
HSLhsl(285, 58%, 40%)
HSVhsv(285, 74%, 64%)
CMYKcmyk(18.4%, 73.6%, 0%, 36.1%)
CIE-LABlab(36.67, 55.51, -46.91)
CIE-LCHlch(36.67, 72.67, 319.80°)
OKLaboklab(47.86% 0.1376 -0.132)
OKLCHoklch(47.86% 0.191 316.2)
XYZxyz(17.1466, 9.3593, 35.5466)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BA3 #49A32B
analogous
#492BA3 #852BA3 #A32B85
triadic
#852BA3 #A3852B #2BA385
tetradic
#852BA3 #A3492B #49A32B #2B85A3
square
#852BA3 #A3492B #49A32B #2B85A3
split-complementary
#852BA3 #85A32B #2BA349
monochromatic
#361142 #5D1E73 #852BA3 #A93FCC #BF6FD9

Accessibility & contrast

On white

7.31
#852BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#852BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BA3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BA3#FFFFFF#000000##FFFFFF
##852BA31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2A59A0
Tritanopia (blue-blind)
#834465
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852ba3;
/* rgb */ color: rgb(133, 43, 163);
/* oklch */ color: oklch(47.9% 0.191 316.2);
Tailwind
colors: {
  custom: {
    50: '#ac6dbf',
    500: '#852ba3',
    950: '#000000',
  },
}
SCSS
$custom: #852ba3;
$custom-light: #ac6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#852ba3",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 285,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.19069,
    "h": 316.2
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#852BA3
secondary
#7FC06A
accent
#E1466D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852BA3

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

Preview Lab → · Contrast checker → · Palette generator →

#852BA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva