#852BB7#852BB7

#852BB7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.209 H 310.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#852BB7
RGBrgb(133, 43, 183)
HSLhsl(279, 62%, 44%)
HSVhsv(279, 77%, 72%)
CMYKcmyk(27.3%, 76.5%, 0%, 28.2%)
CIE-LABlab(38.08, 59.67, -56.55)
CIE-LCHlch(38.08, 82.20, 316.54°)
OKLaboklab(49.31% 0.1344 -0.1604)
OKLCHoklch(49.31% 0.209 310)
XYZxyz(19.0823, 10.1336, 45.7413)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB7 #5DB72B
analogous
#3F2BB7 #852BB7 #B72BA3
triadic
#852BB7 #B7852B #2BB785
tetradic
#852BB7 #B73F2B #5DB72B #2BA3B7
square
#852BB7 #B73F2B #5DB72B #2BA3B7
split-complementary
#852BB7 #A3B72B #2BB73F
monochromatic
#3D1454 #611F85 #852BB7 #A34BD5 #BD7CE0

Accessibility & contrast

On white

6.94
#852BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852BB7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB7#FFFFFF#000000##FFFFFF
##852BB71.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#7E4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852bb7;
/* rgb */ color: rgb(133, 43, 183);
/* oklch */ color: oklch(49.3% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#ad6ecd',
    500: '#852bb7',
    950: '#000000',
  },
}
SCSS
$custom: #852bb7;
$custom-light: #ad6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb7",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 278.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.20926,
    "h": 310
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#852BB7
secondary
#93C975
accent
#E5437D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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