#852ABF#852ABF

#852ABF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.218 H 307.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#852ABF
RGBrgb(133, 42, 191)
HSLhsl(277, 64%, 46%)
HSVhsv(277, 78%, 75%)
CMYKcmyk(30.4%, 78%, 0%, 25.1%)
CIE-LABlab(38.56, 61.75, -60.48)
CIE-LCHlch(38.56, 86.43, 315.59°)
OKLaboklab(49.83% 0.1336 -0.1719)
OKLCHoklch(49.83% 0.218 307.8)
XYZxyz(19.9028, 10.4044, 50.2399)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852ABF #64BF2A
analogous
#3A2ABF #852ABF #BF2AAE
triadic
#852ABF #BF852A #2ABF85
tetradic
#852ABF #BF3A2A #64BF2A #2AAEBF
square
#852ABF #BF3A2A #64BF2A #2AAEBF
split-complementary
#852ABF #AEBF2A #2ABF3A
monochromatic
#3F145B #621F8D #852ABF #A24ED8 #BD80E3

Accessibility & contrast

On white

6.82
#852ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#852ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852ABF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852ABF#FFFFFF#000000##FFFFFF
##852ABF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#7B5074
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852abf;
/* rgb */ color: rgb(133, 42, 191);
/* oklch */ color: oklch(49.8% 0.218 307.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ed3',
    500: '#852abf',
    950: '#000000',
  },
}
SCSS
$custom: #852abf;
$custom-light: #ae6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#852abf",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 276.644,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.21771,
    "h": 307.8
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#852ABF
secondary
#99CC79
accent
#E74182
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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