#852FBB#852FBB

#852FBB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.209 H 308.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#852FBB
RGBrgb(133, 47, 187)
HSLhsl(277, 60%, 46%)
HSVhsv(277, 75%, 73%)
CMYKcmyk(28.9%, 74.9%, 0%, 26.7%)
CIE-LABlab(38.91, 59.00, -57.56)
CIE-LCHlch(38.91, 82.42, 315.71°)
OKLaboklab(49.98% 0.1301 -0.1633)
OKLCHoklch(49.98% 0.209 308.5)
XYZxyz(19.6572, 10.6078, 48.0160)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FBB #65BB2F
analogous
#3F2FBB #852FBB #BB2FAB
triadic
#852FBB #BB852F #2FBB85
tetradic
#852FBB #BB3F2F #65BB2F #2FABBB
square
#852FBB #BB3F2F #65BB2F #2FABBB
split-complementary
#852FBB #ABBB2F #2FBB3F
monochromatic
#3F1659 #62238A #852FBB #A253D4 #BD84E0

Accessibility & contrast

On white

6.73
#852FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#852FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FBB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FBB#FFFFFF#000000##FFFFFF
##852FBB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#7D5173
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852fbb;
/* rgb */ color: rgb(133, 47, 187);
/* oklch */ color: oklch(50.0% 0.209 308.5);
Tailwind
colors: {
  custom: {
    50: '#ad70d0',
    500: '#852fbb',
    950: '#000000',
  },
}
SCSS
$custom: #852fbb;
$custom-light: #ad70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#852fbb",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 276.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.20881,
    "h": 308.5
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#852FBB
secondary
#9AC97C
accent
#E34582
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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