#852EB9#852EB9

#852EB9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.208 H 309.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#852EB9
RGBrgb(133, 46, 185)
HSLhsl(278, 60%, 45%)
HSVhsv(278, 75%, 73%)
CMYKcmyk(28.1%, 75.1%, 0%, 27.5%)
CIE-LABlab(38.63, 58.95, -56.84)
CIE-LCHlch(38.63, 81.89, 316.05°)
OKLaboklab(49.74% 0.1314 -0.1612)
OKLCHoklch(49.74% 0.208 309.2)
XYZxyz(19.4050, 10.4437, 46.8831)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB9 #62B92E
analogous
#402EB9 #852EB9 #B92EA7
triadic
#852EB9 #B9852E #2EB985
tetradic
#852EB9 #B9402E #62B92E #2EA7B9
square
#852EB9 #B9402E #62B92E #2EA7B9
split-complementary
#852EB9 #A7B92E #2EB940
monochromatic
#3F1657 #622288 #852EB9 #A351D4 #BD82E0

Accessibility & contrast

On white

6.80
#852EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#852EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EB9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EB9#FFFFFF#000000##FFFFFF
##852EB91.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#7D4F72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852eb9;
/* rgb */ color: rgb(133, 46, 185);
/* oklch */ color: oklch(49.7% 0.208 309.2);
Tailwind
colors: {
  custom: {
    50: '#ad70cf',
    500: '#852eb9',
    950: '#000000',
  },
}
SCSS
$custom: #852eb9;
$custom-light: #ad70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb9",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 277.554,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.20798,
    "h": 309.2
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#852EB9
secondary
#97C97A
accent
#E34480
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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