#852CB2#852CB2

#852CB2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.204 H 311.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#852CB2
RGBrgb(133, 44, 178)
HSLhsl(280, 60%, 44%)
HSVhsv(280, 75%, 70%)
CMYKcmyk(25.3%, 75.3%, 0%, 30.2%)
CIE-LABlab(37.85, 58.23, -53.96)
CIE-LCHlch(37.85, 79.39, 317.18°)
OKLaboklab(49.03% 0.1345 -0.1528)
OKLCHoklch(49.03% 0.204 311.4)
XYZxyz(18.6079, 10.0027, 43.0613)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB2 #59B22C
analogous
#422CB2 #852CB2 #B22C9C
triadic
#852CB2 #B2852C #2CB285
tetradic
#852CB2 #B2422C #59B22C #2C9CB2
square
#852CB2 #B2422C #59B22C #2C9CB2
split-complementary
#852CB2 #9CB22C #2CB242
monochromatic
#3C1450 #602081 #852CB2 #A449D2 #BD7ADE

Accessibility & contrast

On white

7.00
#852CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#852CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB2#FFFFFF#000000##FFFFFF
##852CB21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#7F4B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852cb2;
/* rgb */ color: rgb(133, 44, 178);
/* oklch */ color: oklch(49.0% 0.204 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad6fca',
    500: '#852cb2',
    950: '#000000',
  },
}
SCSS
$custom: #852cb2;
$custom-light: #ad6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb2",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 279.851,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.20352,
    "h": 311.4
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#852CB2
secondary
#8FC673
accent
#E4447A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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