#852EB2#852EB2

#852EB2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.201 H 311.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#852EB2
RGBrgb(133, 46, 178)
HSLhsl(280, 59%, 44%)
HSVhsv(280, 74%, 70%)
CMYKcmyk(25.3%, 74.2%, 0%, 30.2%)
CIE-LABlab(38.12, 57.45, -53.52)
CIE-LCHlch(38.12, 78.52, 317.03°)
OKLaboklab(49.22% 0.1326 -0.1515)
OKLCHoklch(49.22% 0.201 311.2)
XYZxyz(18.6842, 10.1554, 43.0868)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB2 #5BB22E
analogous
#432EB2 #852EB2 #B22E9D
triadic
#852EB2 #B2852E #2EB285
tetradic
#852EB2 #B2432E #5BB22E #2E9DB2
square
#852EB2 #B2432E #5BB22E #2E9DB2
split-complementary
#852EB2 #9DB22E #2EB243
monochromatic
#3C1551 #612181 #852EB2 #A44CD1 #BD7DDD

Accessibility & contrast

On white

6.93
#852EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852EB2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EB2#FFFFFF#000000##FFFFFF
##852EB21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#165BAF
Tritanopia (blue-blind)
#7F4C6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852eb2;
/* rgb */ color: rgb(133, 46, 178);
/* oklch */ color: oklch(49.2% 0.201 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad6fca',
    500: '#852eb2',
    950: '#000000',
  },
}
SCSS
$custom: #852eb2;
$custom-light: #ad6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb2",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 279.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.20132,
    "h": 311.2
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#852EB2
secondary
#91C676
accent
#E2467B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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