#852BB8#852BB8

#852BB8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.210 H 309.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#852BB8
RGBrgb(133, 43, 184)
HSLhsl(278, 62%, 45%)
HSVhsv(278, 77%, 72%)
CMYKcmyk(27.7%, 76.6%, 0%, 27.8%)
CIE-LABlab(38.16, 59.88, -57.02)
CIE-LCHlch(38.16, 82.68, 316.40°)
OKLaboklab(49.38% 0.1342 -0.1617)
OKLCHoklch(49.38% 0.21 309.7)
XYZxyz(19.1867, 10.1754, 46.2914)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB8 #5EB82B
analogous
#3F2BB8 #852BB8 #B82BA5
triadic
#852BB8 #B8852B #2BB885
tetradic
#852BB8 #B83F2B #5EB82B #2BA5B8
square
#852BB8 #B83F2B #5EB82B #2BA5B8
split-complementary
#852BB8 #A5B82B #2BB83F
monochromatic
#3D1455 #611F86 #852BB8 #A34BD5 #BC7DE1

Accessibility & contrast

On white

6.92
#852BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852BB8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB8#FFFFFF#000000##FFFFFF
##852BB81.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852bb8;
/* rgb */ color: rgb(133, 43, 184);
/* oklch */ color: oklch(49.4% 0.210 309.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ece',
    500: '#852bb8',
    950: '#000000',
  },
}
SCSS
$custom: #852bb8;
$custom-light: #ad6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb8",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 278.298,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.21019,
    "h": 309.7
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#852BB8
secondary
#94C976
accent
#E5437D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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