#852FB5#852FB5

#852FB5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.203 H 310.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#852FB5
RGBrgb(133, 47, 181)
HSLhsl(279, 59%, 45%)
HSVhsv(279, 74%, 71%)
CMYKcmyk(26.5%, 74%, 0%, 29%)
CIE-LABlab(38.47, 57.70, -54.73)
CIE-LCHlch(38.47, 79.52, 316.51°)
OKLaboklab(49.54% 0.1311 -0.155)
OKLCHoklch(49.54% 0.203 310.2)
XYZxyz(19.0282, 10.3562, 44.7037)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB5 #5FB52F
analogous
#422FB5 #852FB5 #B52FA2
triadic
#852FB5 #B5852F #2FB585
tetradic
#852FB5 #B5422F #5FB52F #2FA2B5
square
#852FB5 #B5422F #5FB52F #2FA2B5
split-complementary
#852FB5 #A2B52F #2FB542
monochromatic
#3E1654 #612284 #852FB5 #A350D1 #BC80DE

Accessibility & contrast

On white

6.84
#852FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#852FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB5#FFFFFF#000000##FFFFFF
##852FB51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#105CB2
Tritanopia (blue-blind)
#7E4E70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852fb5;
/* rgb */ color: rgb(133, 47, 181);
/* oklch */ color: oklch(49.5% 0.203 310.2);
Tailwind
colors: {
  custom: {
    50: '#ad70cc',
    500: '#852fb5',
    950: '#000000',
  },
}
SCSS
$custom: #852fb5;
$custom-light: #ad70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb5",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 278.507,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.20306,
    "h": 310.2
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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