#852AC5#852AC5

#852AC5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.223 H 306.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#852AC5
RGBrgb(133, 42, 197)
HSLhsl(275, 65%, 47%)
HSVhsv(275, 79%, 77%)
CMYKcmyk(32.5%, 78.7%, 0%, 22.7%)
CIE-LABlab(39.03, 63.05, -63.23)
CIE-LCHlch(39.03, 89.29, 314.92°)
OKLaboklab(50.3% 0.1321 -0.18)
OKLCHoklch(50.3% 0.223 306.3)
XYZxyz(20.5767, 10.6739, 53.7888)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AC5 #6AC52A
analogous
#382AC5 #852AC5 #C52AB8
triadic
#852AC5 #C5852A #2AC585
tetradic
#852AC5 #C5382A #6AC52A #2AB8C5
square
#852AC5 #C5382A #6AC52A #2AB8C5
split-complementary
#852AC5 #B8C52A #2AC538
monochromatic
#411460 #631F93 #852AC5 #A252DA #BD85E5

Accessibility & contrast

On white

6.70
#852AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#852AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AC5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AC5#FFFFFF#000000##FFFFFF
##852AC51.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#795378
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852ac5;
/* rgb */ color: rgb(133, 42, 197);
/* oklch */ color: oklch(50.3% 0.223 306.3);
Tailwind
colors: {
  custom: {
    50: '#ae6fd8',
    500: '#852ac5',
    950: '#000000',
  },
}
SCSS
$custom: #852ac5;
$custom-light: #ae6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#852ac5",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 275.226,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.2233,
    "h": 306.3
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#852AC5
secondary
#9ECE7D
accent
#E84085
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #852AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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