#852EB7#852EB7

#852EB7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.206 H 309.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#852EB7
RGBrgb(133, 46, 183)
HSLhsl(278, 60%, 45%)
HSVhsv(278, 75%, 72%)
CMYKcmyk(27.3%, 74.9%, 0%, 28.2%)
CIE-LABlab(38.48, 58.52, -55.90)
CIE-LCHlch(38.48, 80.93, 316.31°)
OKLaboklab(49.59% 0.1317 -0.1585)
OKLCHoklch(49.59% 0.206 309.7)
XYZxyz(19.1954, 10.3598, 45.7790)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB7 #60B72E
analogous
#402EB7 #852EB7 #B72EA5
triadic
#852EB7 #B7852E #2EB785
tetradic
#852EB7 #B7402E #60B72E #2EA5B7
square
#852EB7 #B7402E #60B72E #2EA5B7
split-complementary
#852EB7 #A5B72E #2EB740
monochromatic
#3E1555 #612286 #852EB7 #A34FD3 #BD80DF

Accessibility & contrast

On white

6.84
#852EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#852EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EB7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EB7#FFFFFF#000000##FFFFFF
##852EB71.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#065CB4
Tritanopia (blue-blind)
#7E4E71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852eb7;
/* rgb */ color: rgb(133, 46, 183);
/* oklch */ color: oklch(49.6% 0.206 309.7);
Tailwind
colors: {
  custom: {
    50: '#ad70cd',
    500: '#852eb7',
    950: '#000000',
  },
}
SCSS
$custom: #852eb7;
$custom-light: #ad70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb7",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 278.102,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49587,
    "c": 0.20607,
    "h": 309.7
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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