#852FB2#852FB2

#852FB2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.200 H 311.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#852FB2
RGBrgb(133, 47, 178)
HSLhsl(279, 58%, 44%)
HSVhsv(279, 74%, 70%)
CMYKcmyk(25.3%, 73.6%, 0%, 30.2%)
CIE-LABlab(38.26, 57.05, -53.30)
CIE-LCHlch(38.26, 78.07, 316.95°)
OKLaboklab(49.32% 0.1316 -0.1508)
OKLCHoklch(49.32% 0.2 311.1)
XYZxyz(18.7237, 10.2344, 43.0999)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB2 #5CB22F
analogous
#442FB2 #852FB2 #B22F9E
triadic
#852FB2 #B2852F #2FB285
tetradic
#852FB2 #B2442F #5CB22F #2F9EB2
square
#852FB2 #B2442F #5CB22F #2F9EB2
split-complementary
#852FB2 #9EB22F #2FB244
monochromatic
#3D1551 #612282 #852FB2 #A34ED0 #BD7EDD

Accessibility & contrast

On white

6.89
#852FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#852FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB2#FFFFFF#000000##FFFFFF
##852FB21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#185CAF
Tritanopia (blue-blind)
#7F4D6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852fb2;
/* rgb */ color: rgb(133, 47, 178);
/* oklch */ color: oklch(49.3% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#ad70ca',
    500: '#852fb2',
    950: '#000000',
  },
}
SCSS
$custom: #852fb2;
$custom-light: #ad70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb2",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 279.389,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.20019,
    "h": 311.1
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#852FB2
secondary
#92C677
accent
#E1467C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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