#852BB2#852BB2

#852BB2 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.205 H 311.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#852BB2
RGBrgb(133, 43, 178)
HSLhsl(280, 61%, 43%)
HSVhsv(280, 76%, 70%)
CMYKcmyk(25.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(37.71, 58.61, -54.18)
CIE-LCHlch(37.71, 79.81, 317.25°)
OKLaboklab(48.93% 0.1354 -0.1534)
OKLCHoklch(48.93% 0.205 311.4)
XYZxyz(18.5711, 9.9291, 43.0491)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB2 #58B22B
analogous
#412BB2 #852BB2 #B22B9B
triadic
#852BB2 #B2852B #2BB285
tetradic
#852BB2 #B2412B #58B22B #2B9BB2
square
#852BB2 #B2412B #58B22B #2B9BB2
split-complementary
#852BB2 #9BB22B #2BB241
monochromatic
#3B134F #601F81 #852BB2 #A448D3 #BD79DF

Accessibility & contrast

On white

7.03
#852BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#852BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BB2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB2#FFFFFF#000000##FFFFFF
##852BB21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#115AAF
Tritanopia (blue-blind)
#7F4B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852bb2;
/* rgb */ color: rgb(133, 43, 178);
/* oklch */ color: oklch(48.9% 0.205 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad6eca',
    500: '#852bb2',
    950: '#000000',
  },
}
SCSS
$custom: #852bb2;
$custom-light: #ad6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb2",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 280,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.20459,
    "h": 311.4
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#852BB2
secondary
#8EC772
accent
#E44479
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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