#852AB8#852AB8

#852AB8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.211 H 309.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#852AB8
RGBrgb(133, 42, 184)
HSLhsl(278, 63%, 44%)
HSVhsv(278, 77%, 72%)
CMYKcmyk(27.7%, 77.2%, 0%, 27.8%)
CIE-LABlab(38.03, 60.25, -57.22)
CIE-LCHlch(38.03, 83.09, 316.47°)
OKLaboklab(49.29% 0.1351 -0.1623)
OKLCHoklch(49.29% 0.211 309.8)
XYZxyz(19.1508, 10.1036, 46.2794)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB8 #5DB82A
analogous
#3E2AB8 #852AB8 #B82AA4
triadic
#852AB8 #B8852A #2AB885
tetradic
#852AB8 #B83E2A #5DB82A #2AA4B8
square
#852AB8 #B83E2A #5DB82A #2AA4B8
split-complementary
#852AB8 #A4B82A #2AB83E
monochromatic
#3D1354 #611F86 #852AB8 #A34AD6 #BD7BE1

Accessibility & contrast

On white

6.95
#852AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#852AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AB8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB8#FFFFFF#000000##FFFFFF
##852AB81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#7E4D70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852ab8;
/* rgb */ color: rgb(133, 42, 184);
/* oklch */ color: oklch(49.3% 0.211 309.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ece',
    500: '#852ab8',
    950: '#000000',
  },
}
SCSS
$custom: #852ab8;
$custom-light: #ae6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab8",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 278.451,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.2112,
    "h": 309.8
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#852AB8
secondary
#93C975
accent
#E6427D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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