#852AB3#852AB3

#852AB3 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.207 H 311.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#852AB3
RGBrgb(133, 42, 179)
HSLhsl(280, 62%, 43%)
HSVhsv(280, 77%, 70%)
CMYKcmyk(25.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(37.66, 59.19, -54.86)
CIE-LCHlch(37.66, 80.71, 317.17°)
OKLaboklab(48.92% 0.1361 -0.1554)
OKLCHoklch(48.92% 0.207 311.2)
XYZxyz(18.6360, 9.8976, 43.5678)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB3 #58B32A
analogous
#402AB3 #852AB3 #B32A9C
triadic
#852AB3 #B3852A #2AB385
tetradic
#852AB3 #B3402A #58B32A #2A9CB3
square
#852AB3 #B3402A #58B32A #2A9CB3
split-complementary
#852AB3 #9CB32A #2AB340
monochromatic
#3B1350 #601E81 #852AB3 #A446D4 #BD78DF

Accessibility & contrast

On white

7.05
#852AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#852AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852AB3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB3#FFFFFF#000000##FFFFFF
##852AB31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0B5AB0
Tritanopia (blue-blind)
#7F4B6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852ab3;
/* rgb */ color: rgb(133, 42, 179);
/* oklch */ color: oklch(48.9% 0.207 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ecb',
    500: '#852ab3',
    950: '#000000',
  },
}
SCSS
$custom: #852ab3;
$custom-light: #ad6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab3",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 279.854,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.20657,
    "h": 311.2
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#852AB3
secondary
#8EC772
accent
#E54379
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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