#852BA2#852BA2

#852BA2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.190 H 316.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#852BA2
RGBrgb(133, 43, 162)
HSLhsl(285, 58%, 40%)
HSVhsv(285, 73%, 64%)
CMYKcmyk(17.9%, 73.5%, 0%, 36.5%)
CIE-LABlab(36.60, 55.30, -46.41)
CIE-LCHlch(36.60, 72.20, 320.00°)
OKLaboklab(47.79% 0.1377 -0.1306)
OKLCHoklch(47.79% 0.19 316.5)
XYZxyz(17.0573, 9.3236, 35.0765)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BA2 #48A22B
analogous
#492BA2 #852BA2 #A22B84
triadic
#852BA2 #A2852B #2BA285
tetradic
#852BA2 #A2492B #48A22B #2B84A2
square
#852BA2 #A2492B #48A22B #2B84A2
split-complementary
#852BA2 #84A22B #2BA249
monochromatic
#361141 #5D1E72 #852BA2 #A93ECC #BF6FD9

Accessibility & contrast

On white

7.33
#852BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#852BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BA2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BA2#FFFFFF#000000##FFFFFF
##852BA21.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2B599F
Tritanopia (blue-blind)
#834464
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852ba2;
/* rgb */ color: rgb(133, 43, 162);
/* oklch */ color: oklch(47.8% 0.190 316.5);
Tailwind
colors: {
  custom: {
    50: '#ac6dbe',
    500: '#852ba2',
    950: '#000000',
  },
}
SCSS
$custom: #852ba2;
$custom-light: #ac6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#852ba2",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 285.378,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.18978,
    "h": 316.5
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#852BA2
secondary
#7EC069
accent
#E1476C
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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