#852AB7#852AB7

#852AB7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.210 H 310.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#852AB7
RGBrgb(133, 42, 183)
HSLhsl(279, 63%, 44%)
HSVhsv(279, 77%, 72%)
CMYKcmyk(27.3%, 77%, 0%, 28.2%)
CIE-LABlab(37.95, 60.03, -56.75)
CIE-LCHlch(37.95, 82.61, 316.61°)
OKLaboklab(49.22% 0.1353 -0.161)
OKLCHoklch(49.22% 0.21 310.1)
XYZxyz(19.0464, 10.0618, 45.7293)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB7 #5CB72A
analogous
#3E2AB7 #852AB7 #B72AA3
triadic
#852AB7 #B7852A #2AB785
tetradic
#852AB7 #B73E2A #5CB72A #2AA3B7
square
#852AB7 #B73E2A #5CB72A #2AA3B7
split-complementary
#852AB7 #A3B72A #2AB73E
monochromatic
#3D1353 #611F85 #852AB7 #A349D5 #BD7BE1

Accessibility & contrast

On white

6.97
#852AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#852AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AB7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB7#FFFFFF#000000##FFFFFF
##852AB71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#7E4C70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852ab7;
/* rgb */ color: rgb(133, 42, 183);
/* oklch */ color: oklch(49.2% 0.210 310.1);
Tailwind
colors: {
  custom: {
    50: '#ad6ecd',
    500: '#852ab7',
    950: '#000000',
  },
}
SCSS
$custom: #852ab7;
$custom-light: #ad6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab7",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 278.723,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.21028,
    "h": 310.1
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#852AB7
secondary
#92C974
accent
#E6427C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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