#852FB4#852FB4

#852FB4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.202 H 310.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#852FB4
RGBrgb(133, 47, 180)
HSLhsl(279, 59%, 45%)
HSVhsv(279, 74%, 71%)
CMYKcmyk(26.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(38.40, 57.48, -54.25)
CIE-LCHlch(38.40, 79.04, 316.66°)
OKLaboklab(49.46% 0.1313 -0.1536)
OKLCHoklch(49.46% 0.202 310.5)
XYZxyz(18.9260, 10.3153, 44.1652)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB4 #5EB42F
analogous
#432FB4 #852FB4 #B42FA1
triadic
#852FB4 #B4852F #2FB485
tetradic
#852FB4 #B4432F #5EB42F #2FA1B4
square
#852FB4 #B4432F #5EB42F #2FA1B4
split-complementary
#852FB4 #A1B42F #2FB443
monochromatic
#3D1653 #612283 #852FB4 #A34FD1 #BC80DE

Accessibility & contrast

On white

6.86
#852FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#852FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB4#FFFFFF#000000##FFFFFF
##852FB41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#135CB1
Tritanopia (blue-blind)
#7F4E6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852fb4;
/* rgb */ color: rgb(133, 47, 180);
/* oklch */ color: oklch(49.5% 0.202 310.5);
Tailwind
colors: {
  custom: {
    50: '#ad70cb',
    500: '#852fb4',
    950: '#000000',
  },
}
SCSS
$custom: #852fb4;
$custom-light: #ad70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb4",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 278.797,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.2021,
    "h": 310.5
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#852FB4
secondary
#94C778
accent
#E2467D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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