#852FB8#852FB8

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

Color values

HEX#852FB8
RGBrgb(133, 47, 184)
HSLhsl(278, 59%, 45%)
HSVhsv(278, 74%, 72%)
CMYKcmyk(27.7%, 74.5%, 0%, 27.8%)
CIE-LABlab(38.69, 58.34, -56.15)
CIE-LCHlch(38.69, 80.97, 316.10°)
OKLaboklab(49.76% 0.1306 -0.1592)
OKLCHoklch(49.76% 0.206 309.4)
XYZxyz(19.3394, 10.4806, 46.3423)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FB8 #62B82F
analogous
#402FB8 #852FB8 #B82FA6
triadic
#852FB8 #B8852F #2FB885
tetradic
#852FB8 #B8402F #62B82F #2FA6B8
square
#852FB8 #B8402F #62B82F #2FA6B8
split-complementary
#852FB8 #A6B82F #2FB840
monochromatic
#3F1657 #622387 #852FB8 #A352D3 #BD82DF

Accessibility & contrast

On white

6.78
#852FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852FB8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FB8#FFFFFF#000000##FFFFFF
##852FB81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#7D4F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852fb8;
/* rgb */ color: rgb(133, 47, 184);
/* oklch */ color: oklch(49.8% 0.206 309.4);
Tailwind
colors: {
  custom: {
    50: '#ad70ce',
    500: '#852fb8',
    950: '#000000',
  },
}
SCSS
$custom: #852fb8;
$custom-light: #ad70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#852fb8",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 277.664,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.20594,
    "h": 309.4
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#852FB8
secondary
#97C87B
accent
#E24580
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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