#852CB7#852CB7

#852CB7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.208 H 309.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#852CB7
RGBrgb(133, 44, 183)
HSLhsl(278, 61%, 45%)
HSVhsv(278, 76%, 72%)
CMYKcmyk(27.3%, 76%, 0%, 28.2%)
CIE-LABlab(38.21, 59.29, -56.33)
CIE-LCHlch(38.21, 81.79, 316.47°)
OKLaboklab(49.4% 0.1336 -0.1597)
OKLCHoklch(49.4% 0.208 309.9)
XYZxyz(19.1191, 10.2072, 45.7536)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB7 #5EB72C
analogous
#402CB7 #852CB7 #B72CA4
triadic
#852CB7 #B7852C #2CB785
tetradic
#852CB7 #B7402C #5EB72C #2CA4B7
square
#852CB7 #B7402C #5EB72C #2CA4B7
split-complementary
#852CB7 #A4B72C #2CB740
monochromatic
#3D1454 #612086 #852CB7 #A34CD4 #BC7EE0

Accessibility & contrast

On white

6.90
#852CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#852CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB7#FFFFFF#000000##FFFFFF
##852CB71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#7E4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852cb7;
/* rgb */ color: rgb(133, 44, 183);
/* oklch */ color: oklch(49.4% 0.208 309.9);
Tailwind
colors: {
  custom: {
    50: '#ad6fcd',
    500: '#852cb7',
    950: '#000000',
  },
}
SCSS
$custom: #852cb7;
$custom-light: #ad6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb7",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 278.417,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.20821,
    "h": 309.9
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#852CB7
secondary
#94C876
accent
#E4437D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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