#852FB0#852FB0

#852FB0 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.198 H 311.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#852FB0
RGBrgb(133, 47, 176)
HSLhsl(280, 58%, 44%)
HSVhsv(280, 73%, 69%)
CMYKcmyk(24.4%, 73.3%, 0%, 31%)
CIE-LABlab(38.12, 56.62, -52.34)
CIE-LCHlch(38.12, 77.11, 317.25°)
OKLaboklab(49.17% 0.1319 -0.148)
OKLCHoklch(49.17% 0.198 311.7)
XYZxyz(18.5244, 10.1547, 42.0501)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB0 #5AB02F
analogous
#442FB0 #852FB0 #B02F9A
triadic
#852FB0 #B0852F #2FB085
tetradic
#852FB0 #B0442F #5AB02F #2F9AB0
square
#852FB0 #B0442F #5AB02F #2F9AB0
split-complementary
#852FB0 #9AB02F #2FB044
monochromatic
#3C154F #602280 #852FB0 #A44DCF #BD7DDC

Accessibility & contrast

On white

6.93
#852FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#852FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB0#FFFFFF#000000##FFFFFF
##852FB01.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#1C5BAD
Tritanopia (blue-blind)
#804C6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852fb0;
/* rgb */ color: rgb(133, 47, 176);
/* oklch */ color: oklch(49.2% 0.198 311.7);
Tailwind
colors: {
  custom: {
    50: '#ad70c8',
    500: '#852fb0',
    950: '#000000',
  },
}
SCSS
$custom: #852fb0;
$custom-light: #ad70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb0",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 280,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.19827,
    "h": 311.7
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#852FB0
secondary
#90C576
accent
#E1477A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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