#852EB0#852EB0

#852EB0 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.199 H 311.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#852EB0
RGBrgb(133, 46, 176)
HSLhsl(280, 59%, 44%)
HSVhsv(280, 74%, 69%)
CMYKcmyk(24.4%, 73.9%, 0%, 31%)
CIE-LABlab(37.98, 57.02, -52.57)
CIE-LCHlch(37.98, 77.56, 317.33°)
OKLaboklab(49.07% 0.1329 -0.1487)
OKLCHoklch(49.07% 0.199 311.8)
XYZxyz(18.4849, 10.0756, 42.0369)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB0 #59B02E
analogous
#442EB0 #852EB0 #B02E9A
triadic
#852EB0 #B0852E #2EB085
tetradic
#852EB0 #B0442E #59B02E #2E9AB0
square
#852EB0 #B0442E #59B02E #2E9AB0
split-complementary
#852EB0 #9AB02E #2EB044
monochromatic
#3C154F #60217F #852EB0 #A44BD0 #BD7CDD

Accessibility & contrast

On white

6.97
#852EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#852EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EB0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EB0#FFFFFF#000000##FFFFFF
##852EB01.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#804B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852eb0;
/* rgb */ color: rgb(133, 46, 176);
/* oklch */ color: oklch(49.1% 0.199 311.8);
Tailwind
colors: {
  custom: {
    50: '#ad6fc8',
    500: '#852eb0',
    950: '#000000',
  },
}
SCSS
$custom: #852eb0;
$custom-light: #ad6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb0",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 280.154,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.19941,
    "h": 311.8
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#852EB0
secondary
#8FC575
accent
#E2467A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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