#852BB9#852BB9

#852BB9 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.211 H 309.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#852BB9
RGBrgb(133, 43, 185)
HSLhsl(278, 62%, 45%)
HSVhsv(278, 77%, 73%)
CMYKcmyk(28.1%, 76.8%, 0%, 27.5%)
CIE-LABlab(38.23, 60.09, -57.48)
CIE-LCHlch(38.23, 83.16, 316.27°)
OKLaboklab(49.46% 0.134 -0.1631)
OKLCHoklch(49.46% 0.211 309.4)
XYZxyz(19.2919, 10.2175, 46.8454)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB9 #5FB92B
analogous
#3E2BB9 #852BB9 #B92BA6
triadic
#852BB9 #B9852B #2BB985
tetradic
#852BB9 #B93E2B #5FB92B #2BA6B9
square
#852BB9 #B93E2B #5FB92B #2BA6B9
split-complementary
#852BB9 #A6B92B #2BB93E
monochromatic
#3E1456 #611F87 #852BB9 #A34CD5 #BD7EE1

Accessibility & contrast

On white

6.90
#852BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#852BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BB9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB9#FFFFFF#000000##FFFFFF
##852BB91.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#7D4E71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852bb9;
/* rgb */ color: rgb(133, 43, 185);
/* oklch */ color: oklch(49.5% 0.211 309.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ecf',
    500: '#852bb9',
    950: '#000000',
  },
}
SCSS
$custom: #852bb9;
$custom-light: #ae6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb9",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 278.028,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.21113,
    "h": 309.4
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#852BB9
secondary
#95C976
accent
#E5427E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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