#852AC0#852AC0

#852AC0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.219 H 307.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#852AC0
RGBrgb(133, 42, 192)
HSLhsl(276, 64%, 46%)
HSVhsv(276, 78%, 75%)
CMYKcmyk(30.7%, 78.1%, 0%, 24.7%)
CIE-LABlab(38.64, 61.96, -60.94)
CIE-LCHlch(38.64, 86.91, 315.48°)
OKLaboklab(49.91% 0.1334 -0.1733)
OKLCHoklch(49.91% 0.219 307.6)
XYZxyz(20.0132, 10.4485, 50.8214)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AC0 #65C02A
analogous
#3A2AC0 #852AC0 #C02AB0
triadic
#852AC0 #C0852A #2AC085
tetradic
#852AC0 #C03A2A #65C02A #2AB0C0
square
#852AC0 #C03A2A #65C02A #2AB0C0
split-complementary
#852AC0 #B0C02A #2AC03A
monochromatic
#3F145C #621F8E #852AC0 #A24FD8 #BD81E3

Accessibility & contrast

On white

6.80
#852AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#852AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AC0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AC0#FFFFFF#000000##FFFFFF
##852AC01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#7B5075
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852ac0;
/* rgb */ color: rgb(133, 42, 192);
/* oklch */ color: oklch(49.9% 0.219 307.6);
Tailwind
colors: {
  custom: {
    50: '#ae6ed4',
    500: '#852ac0',
    950: '#000000',
  },
}
SCSS
$custom: #852ac0;
$custom-light: #ae6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#852ac0",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 276.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.21864,
    "h": 307.6
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#852AC0
secondary
#9ACC7A
accent
#E74182
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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