#852FB3#852FB3

#852FB3 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.201 H 310.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#852FB3
RGBrgb(133, 47, 179)
HSLhsl(279, 58%, 44%)
HSVhsv(279, 74%, 70%)
CMYKcmyk(25.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(38.33, 57.27, -53.77)
CIE-LCHlch(38.33, 78.56, 316.80°)
OKLaboklab(49.39% 0.1315 -0.1522)
OKLCHoklch(49.39% 0.201 310.8)
XYZxyz(18.8245, 10.2747, 43.6307)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB3 #5DB32F
analogous
#432FB3 #852FB3 #B32F9F
triadic
#852FB3 #B3852F #2FB385
tetradic
#852FB3 #B3432F #5DB32F #2F9FB3
square
#852FB3 #B3432F #5DB32F #2F9FB3
split-complementary
#852FB3 #9FB32F #2FB343
monochromatic
#3D1652 #612283 #852FB3 #A34FD1 #BD7FDD

Accessibility & contrast

On white

6.87
#852FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852FB3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB3#FFFFFF#000000##FFFFFF
##852FB31.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#165CB0
Tritanopia (blue-blind)
#7F4D6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852fb3;
/* rgb */ color: rgb(133, 47, 179);
/* oklch */ color: oklch(49.4% 0.201 310.8);
Tailwind
colors: {
  custom: {
    50: '#ad70ca',
    500: '#852fb3',
    950: '#000000',
  },
}
SCSS
$custom: #852fb3;
$custom-light: #ad70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb3",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 279.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.20114,
    "h": 310.8
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#852FB3
secondary
#93C678
accent
#E2467C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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