#852FB9#852FB9

#852FB9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.207 H 309.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#852FB9
RGBrgb(133, 47, 185)
HSLhsl(277, 59%, 45%)
HSVhsv(277, 75%, 73%)
CMYKcmyk(28.1%, 74.6%, 0%, 27.5%)
CIE-LABlab(38.76, 58.56, -56.62)
CIE-LCHlch(38.76, 81.46, 315.97°)
OKLaboklab(49.83% 0.1304 -0.1606)
OKLCHoklch(49.83% 0.207 309.1)
XYZxyz(19.4446, 10.5227, 46.8963)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB9 #63B92F
analogous
#402FB9 #852FB9 #B92FA8
triadic
#852FB9 #B9852F #2FB985
tetradic
#852FB9 #B9402F #63B92F #2FA8B9
square
#852FB9 #B9402F #63B92F #2FA8B9
split-complementary
#852FB9 #A8B92F #2FB940
monochromatic
#3F1657 #622388 #852FB9 #A252D3 #BD83DF

Accessibility & contrast

On white

6.76
#852FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#852FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB9#FFFFFF#000000##FFFFFF
##852FB91.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#7D5072
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852fb9;
/* rgb */ color: rgb(133, 47, 185);
/* oklch */ color: oklch(49.8% 0.207 309.1);
Tailwind
colors: {
  custom: {
    50: '#ad70cf',
    500: '#852fb9',
    950: '#000000',
  },
}
SCSS
$custom: #852fb9;
$custom-light: #ad70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb9",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 277.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.20689,
    "h": 309.1
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#852FB9
secondary
#98C97B
accent
#E34580
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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