#852AB5#852AB5

#852AB5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.208 H 310.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#852AB5
RGBrgb(133, 42, 181)
HSLhsl(279, 62%, 44%)
HSVhsv(279, 77%, 71%)
CMYKcmyk(26.5%, 76.8%, 0%, 29%)
CIE-LABlab(37.80, 59.61, -55.81)
CIE-LCHlch(37.80, 81.66, 316.89°)
OKLaboklab(49.06% 0.1357 -0.1582)
OKLCHoklch(49.06% 0.208 310.6)
XYZxyz(18.8397, 9.9791, 44.6408)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB5 #5AB52A
analogous
#402AB5 #852AB5 #B52A9F
triadic
#852AB5 #B5852A #2AB585
tetradic
#852AB5 #B5402A #5AB52A #2A9FB5
square
#852AB5 #B5402A #5AB52A #2A9FB5
split-complementary
#852AB5 #9FB52A #2AB540
monochromatic
#3C1352 #601E83 #852AB5 #A448D4 #BD79E0

Accessibility & contrast

On white

7.01
#852AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#852AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AB5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB5#FFFFFF#000000##FFFFFF
##852AB51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#025AB2
Tritanopia (blue-blind)
#7E4C6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852ab5;
/* rgb */ color: rgb(133, 42, 181);
/* oklch */ color: oklch(49.1% 0.208 310.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ecc',
    500: '#852ab5',
    950: '#000000',
  },
}
SCSS
$custom: #852ab5;
$custom-light: #ad6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab5",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 279.281,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.20842,
    "h": 310.6
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#852AB5
secondary
#90C873
accent
#E5427B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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