#852AB9#852AB9

#852AB9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.212 H 309.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#852AB9
RGBrgb(133, 42, 185)
HSLhsl(278, 63%, 45%)
HSVhsv(278, 77%, 73%)
CMYKcmyk(28.1%, 77.3%, 0%, 27.5%)
CIE-LABlab(38.10, 60.46, -57.69)
CIE-LCHlch(38.10, 83.57, 316.34°)
OKLaboklab(49.37% 0.1349 -0.1637)
OKLCHoklch(49.37% 0.212 309.5)
XYZxyz(19.2560, 10.1456, 46.8334)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB9 #5EB92A
analogous
#3E2AB9 #852AB9 #B92AA6
triadic
#852AB9 #B9852A #2AB985
tetradic
#852AB9 #B93E2A #5EB92A #2AA6B9
square
#852AB9 #B93E2A #5EB92A #2AA6B9
split-complementary
#852AB9 #A6B92A #2AB93E
monochromatic
#3D1355 #611F87 #852AB9 #A34AD6 #BC7CE1

Accessibility & contrast

On white

6.93
#852AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#852AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AB9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB9#FFFFFF#000000##FFFFFF
##852AB91.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#7D4D71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852ab9;
/* rgb */ color: rgb(133, 42, 185);
/* oklch */ color: oklch(49.4% 0.212 309.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ecf',
    500: '#852ab9',
    950: '#000000',
  },
}
SCSS
$custom: #852ab9;
$custom-light: #ae6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab9",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 278.182,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.21214,
    "h": 309.5
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#852AB9
secondary
#94CA75
accent
#E6427D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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