#852FB7#852FB7

#852FB7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.205 H 309.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#852FB7
RGBrgb(133, 47, 183)
HSLhsl(278, 59%, 45%)
HSVhsv(278, 74%, 72%)
CMYKcmyk(27.3%, 74.3%, 0%, 28.2%)
CIE-LABlab(38.62, 58.13, -55.67)
CIE-LCHlch(38.62, 80.49, 316.24°)
OKLaboklab(49.69% 0.1308 -0.1578)
OKLCHoklch(49.69% 0.205 309.7)
XYZxyz(19.2349, 10.4389, 45.7922)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB7 #61B72F
analogous
#412FB7 #852FB7 #B72FA5
triadic
#852FB7 #B7852F #2FB785
tetradic
#852FB7 #B7412F #61B72F #2FA5B7
square
#852FB7 #B7412F #61B72F #2FA5B7
split-complementary
#852FB7 #A5B72F #2FB741
monochromatic
#3E1656 #622286 #852FB7 #A351D2 #BD82DF

Accessibility & contrast

On white

6.80
#852FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#852FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FB7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB7#FFFFFF#000000##FFFFFF
##852FB71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#095CB4
Tritanopia (blue-blind)
#7E4F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852fb7;
/* rgb */ color: rgb(133, 47, 183);
/* oklch */ color: oklch(49.7% 0.205 309.7);
Tailwind
colors: {
  custom: {
    50: '#ad70cd',
    500: '#852fb7',
    950: '#000000',
  },
}
SCSS
$custom: #852fb7;
$custom-light: #ad70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb7",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 277.941,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.20498,
    "h": 309.7
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#852FB7
secondary
#97C87A
accent
#E2457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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