#852DC8#852DC8

#852DC8 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.223 H 305.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#852DC8
RGBrgb(133, 45, 200)
HSLhsl(274, 63%, 48%)
HSVhsv(274, 78%, 78%)
CMYKcmyk(33.5%, 77.5%, 0%, 21.6%)
CIE-LABlab(39.64, 62.62, -63.98)
CIE-LCHlch(39.64, 89.53, 314.38°)
OKLaboklab(50.8% 0.129 -0.1822)
OKLCHoklch(50.8% 0.223 305.3)
XYZxyz(21.0342, 11.0336, 55.6540)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DC8 #70C82D
analogous
#382DC8 #852DC8 #C82DBD
triadic
#852DC8 #C8852D #2DC885
tetradic
#852DC8 #C8382D #70C82D #2DBDC8
square
#852DC8 #C8382D #70C82D #2DBDC8
split-complementary
#852DC8 #BDC82D #2DC838
monochromatic
#431764 #642296 #852DC8 #A259DA #BE8BE5

Accessibility & contrast

On white

6.55
#852DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#852DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DC8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DC8#FFFFFF#000000##FFFFFF
##852DC81.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#78557A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852dc8;
/* rgb */ color: rgb(133, 45, 200);
/* oklch */ color: oklch(50.8% 0.223 305.3);
Tailwind
colors: {
  custom: {
    50: '#af70da',
    500: '#852dc8',
    950: '#000000',
  },
}
SCSS
$custom: #852dc8;
$custom-light: #af70da;
$custom-dark: #000000;
JSON
{
  "hex": "#852dc8",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 274.065,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.22327,
    "h": 305.3
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#852DC8
secondary
#A3CF82
accent
#E64189
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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