#852EB8#852EB8

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

Color values

HEX#852EB8
RGBrgb(133, 46, 184)
HSLhsl(278, 60%, 45%)
HSVhsv(278, 75%, 72%)
CMYKcmyk(27.7%, 75%, 0%, 27.8%)
CIE-LABlab(38.55, 58.74, -56.37)
CIE-LCHlch(38.55, 81.41, 316.18°)
OKLaboklab(49.66% 0.1316 -0.1599)
OKLCHoklch(49.66% 0.207 309.5)
XYZxyz(19.2999, 10.4016, 46.3291)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB8 #61B82E
analogous
#402EB8 #852EB8 #B82EA6
triadic
#852EB8 #B8852E #2EB885
tetradic
#852EB8 #B8402E #61B82E #2EA6B8
square
#852EB8 #B8402E #61B82E #2EA6B8
split-complementary
#852EB8 #A6B82E #2EB840
monochromatic
#3E1656 #622287 #852EB8 #A350D3 #BD81DF

Accessibility & contrast

On white

6.82
#852EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#852EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EB8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EB8#FFFFFF#000000##FFFFFF
##852EB81.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#015CB5
Tritanopia (blue-blind)
#7D4F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852eb8;
/* rgb */ color: rgb(133, 46, 184);
/* oklch */ color: oklch(49.7% 0.207 309.5);
Tailwind
colors: {
  custom: {
    50: '#ad70ce',
    500: '#852eb8',
    950: '#000000',
  },
}
SCSS
$custom: #852eb8;
$custom-light: #ad70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb8",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 277.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49662,
    "c": 0.20703,
    "h": 309.5
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#852EB8
secondary
#97C879
accent
#E3457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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