#852BB4#852BB4

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

Color values

HEX#852BB4
RGBrgb(133, 43, 180)
HSLhsl(279, 61%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(37.86, 59.03, -55.13)
CIE-LCHlch(37.86, 80.77, 316.96°)
OKLaboklab(49.08% 0.135 -0.1562)
OKLCHoklch(49.08% 0.206 310.8)
XYZxyz(18.7734, 10.0100, 44.1143)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB4 #5AB42B
analogous
#402BB4 #852BB4 #B42B9E
triadic
#852BB4 #B4852B #2BB485
tetradic
#852BB4 #B4402B #5AB42B #2B9EB4
square
#852BB4 #B4402B #5AB42B #2B9EB4
split-complementary
#852BB4 #9EB42B #2BB440
monochromatic
#3C1351 #601F83 #852BB4 #A449D3 #BD7ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852BB4#FFFFFF#000000##FFFFFF
##852BB41.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)
#0055B8
Deuteranopia (green-blind)
#0A5BB1
Tritanopia (blue-blind)
#7F4C6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852bb4;
/* rgb */ color: rgb(133, 43, 180);
/* oklch */ color: oklch(49.1% 0.206 310.8);
Tailwind
colors: {
  custom: {
    50: '#ad6ecb',
    500: '#852bb4',
    950: '#000000',
  },
}
SCSS
$custom: #852bb4;
$custom-light: #ad6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb4",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 279.416,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.20645,
    "h": 310.8
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#852BB4
secondary
#90C773
accent
#E5437B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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