#852EC9#852EC9

#852EC9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.223 H 305.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#852EC9
RGBrgb(133, 46, 201)
HSLhsl(274, 63%, 48%)
HSVhsv(274, 77%, 79%)
CMYKcmyk(33.8%, 77.1%, 0%, 21.2%)
CIE-LABlab(39.84, 62.47, -64.23)
CIE-LCHlch(39.84, 89.60, 314.21°)
OKLaboklab(50.97% 0.1279 -0.1829)
OKLCHoklch(50.97% 0.223 305)
XYZxyz(21.1901, 11.1577, 56.2843)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EC9 #72C92E
analogous
#372EC9 #852EC9 #C92EBF
triadic
#852EC9 #C9852E #2EC985
tetradic
#852EC9 #C9372E #72C92E #2EBFC9
square
#852EC9 #C9372E #72C92E #2EBFC9
split-complementary
#852EC9 #BFC92E #2EC937
monochromatic
#431765 #642397 #852EC9 #A25BD9 #BE8DE5

Accessibility & contrast

On white

6.50
#852EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#852EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EC9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EC9#FFFFFF#000000##FFFFFF
##852EC91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#78567B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852ec9;
/* rgb */ color: rgb(133, 46, 201);
/* oklch */ color: oklch(51.0% 0.223 305.0);
Tailwind
colors: {
  custom: {
    50: '#af70da',
    500: '#852ec9',
    950: '#000000',
  },
}
SCSS
$custom: #852ec9;
$custom-light: #af70da;
$custom-dark: #000000;
JSON
{
  "hex": "#852ec9",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 273.677,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.22325,
    "h": 305
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#852EC9
secondary
#A5CF84
accent
#E6428A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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