#852EC5#852EC5

#852EC5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.219 H 306.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#852EC5
RGBrgb(133, 46, 197)
HSLhsl(275, 62%, 48%)
HSVhsv(275, 77%, 77%)
CMYKcmyk(32.5%, 76.6%, 0%, 22.7%)
CIE-LABlab(39.53, 61.58, -62.41)
CIE-LCHlch(39.53, 87.67, 314.62°)
OKLaboklab(50.66% 0.1289 -0.1776)
OKLCHoklch(50.66% 0.219 306)
XYZxyz(20.7257, 10.9719, 53.8384)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EC5 #6EC52E
analogous
#3A2EC5 #852EC5 #C52EB9
triadic
#852EC5 #C5852E #2EC585
tetradic
#852EC5 #C53A2E #6EC52E #2EB9C5
square
#852EC5 #C53A2E #6EC52E #2EB9C5
split-complementary
#852EC5 #B9C52E #2EC53A
monochromatic
#421762 #642293 #852EC5 #A258D8 #BE8AE4

Accessibility & contrast

On white

6.57
#852EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#852EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EC5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EC5#FFFFFF#000000##FFFFFF
##852EC51.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#795479
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852ec5;
/* rgb */ color: rgb(133, 46, 197);
/* oklch */ color: oklch(50.7% 0.219 306.0);
Tailwind
colors: {
  custom: {
    50: '#ae70d8',
    500: '#852ec5',
    950: '#000000',
  },
}
SCSS
$custom: #852ec5;
$custom-light: #ae70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#852ec5",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 274.57,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.21943,
    "h": 306
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#852EC5
secondary
#A2CE81
accent
#E54388
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #852EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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