#852BB6#852BB6

#852BB6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.208 H 310.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#852BB6
RGBrgb(133, 43, 182)
HSLhsl(279, 62%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.9%, 76.4%, 0%, 28.6%)
CIE-LABlab(38.01, 59.45, -56.07)
CIE-LCHlch(38.01, 81.73, 316.68°)
OKLaboklab(49.23% 0.1346 -0.159)
OKLCHoklch(49.23% 0.208 310.3)
XYZxyz(18.9786, 10.0921, 45.1951)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB6 #5CB62B
analogous
#402BB6 #852BB6 #B62BA2
triadic
#852BB6 #B6852B #2BB685
tetradic
#852BB6 #B6402B #5CB62B #2BA2B6
square
#852BB6 #B6402B #5CB62B #2BA2B6
split-complementary
#852BB6 #A2B62B #2BB640
monochromatic
#3D1453 #611F84 #852BB6 #A34AD4 #BD7BE0

Accessibility & contrast

On white

6.96
#852BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#852BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BB6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB6#FFFFFF#000000##FFFFFF
##852BB61.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#015BB3
Tritanopia (blue-blind)
#7E4C6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852bb6;
/* rgb */ color: rgb(133, 43, 182);
/* oklch */ color: oklch(49.2% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ecd',
    500: '#852bb6',
    950: '#000000',
  },
}
SCSS
$custom: #852bb6;
$custom-light: #ad6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb6",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 278.849,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.20832,
    "h": 310.3
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#852BB6
secondary
#92C875
accent
#E5437C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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