#852FB6#852FB6

#852FB6 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.204 H 309.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#852FB6
RGBrgb(133, 47, 182)
HSLhsl(278, 59%, 45%)
HSVhsv(278, 74%, 71%)
CMYKcmyk(26.9%, 74.2%, 0%, 28.6%)
CIE-LABlab(38.55, 57.91, -55.20)
CIE-LCHlch(38.55, 80.01, 316.37°)
OKLaboklab(49.61% 0.131 -0.1564)
OKLCHoklch(49.61% 0.204 309.9)
XYZxyz(19.1312, 10.3974, 45.2460)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB6 #60B62F
analogous
#412FB6 #852FB6 #B62FA4
triadic
#852FB6 #B6852F #2FB685
tetradic
#852FB6 #B6412F #60B62F #2FA4B6
square
#852FB6 #B6412F #60B62F #2FA4B6
split-complementary
#852FB6 #A4B62F #2FB641
monochromatic
#3E1655 #612285 #852FB6 #A350D2 #BD81DE

Accessibility & contrast

On white

6.82
#852FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#852FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB6#FFFFFF#000000##FFFFFF
##852FB61.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0D5CB3
Tritanopia (blue-blind)
#7E4E70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852fb6;
/* rgb */ color: rgb(133, 47, 182);
/* oklch */ color: oklch(49.6% 0.204 309.9);
Tailwind
colors: {
  custom: {
    50: '#ad70cd',
    500: '#852fb6',
    950: '#000000',
  },
}
SCSS
$custom: #852fb6;
$custom-light: #ad70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb6",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 278.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.20402,
    "h": 309.9
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#852FB6
secondary
#96C779
accent
#E2467E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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