#852ABD#852ABD

#852ABD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.216 H 308.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#852ABD
RGBrgb(133, 42, 189)
HSLhsl(277, 64%, 45%)
HSVhsv(277, 78%, 74%)
CMYKcmyk(29.6%, 77.8%, 0%, 25.9%)
CIE-LABlab(38.41, 61.32, -59.55)
CIE-LCHlch(38.41, 85.48, 315.83°)
OKLaboklab(49.67% 0.134 -0.1692)
OKLCHoklch(49.67% 0.216 308.4)
XYZxyz(19.6842, 10.3169, 49.0886)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852ABD #62BD2A
analogous
#3C2ABD #852ABD #BD2AAB
triadic
#852ABD #BD852A #2ABD85
tetradic
#852ABD #BD3C2A #62BD2A #2AABBD
square
#852ABD #BD3C2A #62BD2A #2AABBD
split-complementary
#852ABD #ABBD2A #2ABD3C
monochromatic
#3F1459 #621F8B #852ABD #A34DD7 #BD7FE3

Accessibility & contrast

On white

6.86
#852ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#852ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852ABD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852ABD#FFFFFF#000000##FFFFFF
##852ABD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#7C4F73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852abd;
/* rgb */ color: rgb(133, 42, 189);
/* oklch */ color: oklch(49.7% 0.216 308.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ed2',
    500: '#852abd',
    950: '#000000',
  },
}
SCSS
$custom: #852abd;
$custom-light: #ae6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#852abd",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 277.143,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.21585,
    "h": 308.4
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#852ABD
secondary
#97CB78
accent
#E74180
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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