#852BA7#852BA7

#852BA7 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.194 H 314.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#852BA7
RGBrgb(133, 43, 167)
HSLhsl(284, 59%, 41%)
HSVhsv(284, 74%, 65%)
CMYKcmyk(20.4%, 74.3%, 0%, 34.5%)
CIE-LABlab(36.94, 56.32, -48.87)
CIE-LCHlch(36.94, 74.57, 319.05°)
OKLaboklab(48.14% 0.1371 -0.1378)
OKLCHoklch(48.14% 0.194 314.8)
XYZxyz(17.5106, 9.5049, 37.4640)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BA7 #4DA72B
analogous
#472BA7 #852BA7 #A72B8B
triadic
#852BA7 #A7852B #2BA785
tetradic
#852BA7 #A7472B #4DA72B #2B8BA7
square
#852BA7 #A7472B #4DA72B #2B8BA7
split-complementary
#852BA7 #8BA72B #2BA747
monochromatic
#371246 #5E1E76 #852BA7 #A741CE #BE72DB

Accessibility & contrast

On white

7.24
#852BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#852BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BA7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BA7#FFFFFF#000000##FFFFFF
##852BA71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2559A4
Tritanopia (blue-blind)
#824667
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ba7;
/* rgb */ color: rgb(133, 43, 167);
/* oklch */ color: oklch(48.1% 0.194 314.8);
Tailwind
colors: {
  custom: {
    50: '#ad6ec2',
    500: '#852ba7',
    950: '#000000',
  },
}
SCSS
$custom: #852ba7;
$custom-light: #ad6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#852ba7",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 283.548,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.19438,
    "h": 314.8
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#852BA7
secondary
#83C26C
accent
#E24671
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #852BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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