#852DC3#852DC3

#852DC3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.219 H 306.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#852DC3
RGBrgb(133, 45, 195)
HSLhsl(275, 63%, 47%)
HSVhsv(275, 77%, 76%)
CMYKcmyk(31.8%, 76.9%, 0%, 23.5%)
CIE-LABlab(39.25, 61.52, -61.70)
CIE-LCHlch(39.25, 87.13, 314.91°)
OKLaboklab(50.41% 0.1302 -0.1755)
OKLCHoklch(50.41% 0.219 306.6)
XYZxyz(20.4594, 10.8037, 52.6267)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DC3 #6BC32D
analogous
#3A2DC3 #852DC3 #C32DB6
triadic
#852DC3 #C3852D #2DC385
tetradic
#852DC3 #C33A2D #6BC32D #2DB6C3
square
#852DC3 #C33A2D #6BC32D #2DB6C3
split-complementary
#852DC3 #B6C32D #2DC33A
monochromatic
#411660 #632291 #852DC3 #A255D8 #BD87E3

Accessibility & contrast

On white

6.64
#852DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#852DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DC3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DC3#FFFFFF#000000##FFFFFF
##852DC31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7A5377
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852dc3;
/* rgb */ color: rgb(133, 45, 195);
/* oklch */ color: oklch(50.4% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae70d6',
    500: '#852dc3',
    950: '#000000',
  },
}
SCSS
$custom: #852dc3;
$custom-light: #ae70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#852dc3",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 275.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.21852,
    "h": 306.6
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#852DC3
secondary
#9FCD7F
accent
#E64286
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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