#852CD1#852CD1

#852CD1 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.233 H 303.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#852CD1
RGBrgb(133, 44, 209)
HSLhsl(272, 65%, 50%)
HSVhsv(272, 79%, 82%)
CMYKcmyk(36.4%, 78.9%, 0%, 18%)
CIE-LABlab(40.23, 64.98, -68.23)
CIE-LCHlch(40.23, 94.23, 313.60°)
OKLaboklab(51.44% 0.1275 -0.1947)
OKLCHoklch(51.44% 0.233 303.2)
XYZxyz(22.0794, 11.3914, 61.3448)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CD1 #78D12C
analogous
#332CD1 #852CD1 #D12CCA
triadic
#852CD1 #D1852C #2CD185
tetradic
#852CD1 #D1332C #78D12C #2CCAD1
square
#852CD1 #D1332C #78D12C #2CCAD1
split-complementary
#852CD1 #CAD12C #2CD133
monochromatic
#45176C #65219E #852CD1 #A25DDD #BF90E8

Accessibility & contrast

On white

6.41
#852CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#852CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CD1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CD1#FFFFFF#000000##FFFFFF
##852CD11.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#75597F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #852cd1;
/* rgb */ color: rgb(133, 44, 209);
/* oklch */ color: oklch(51.4% 0.233 303.2);
Tailwind
colors: {
  custom: {
    50: '#af70e0',
    500: '#852cd1',
    950: '#000000',
  },
}
SCSS
$custom: #852cd1;
$custom-light: #af70e0;
$custom-dark: #000000;
JSON
{
  "hex": "#852cd1",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 272.364,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.23272,
    "h": 303.2
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#852CD1
secondary
#A9D287
accent
#E8408D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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