#852DB4#852DB4

#852DB4 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.204 H 310.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#852DB4
RGBrgb(133, 45, 180)
HSLhsl(279, 60%, 44%)
HSVhsv(279, 75%, 71%)
CMYKcmyk(26.1%, 75%, 0%, 29.4%)
CIE-LABlab(38.13, 58.27, -54.70)
CIE-LCHlch(38.13, 79.92, 316.81°)
OKLaboklab(49.27% 0.1332 -0.1549)
OKLCHoklch(49.27% 0.204 310.7)
XYZxyz(18.8479, 10.1590, 44.1392)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB4 #5CB42D
analogous
#422DB4 #852DB4 #B42DA0
triadic
#852DB4 #B4852D #2DB485
tetradic
#852DB4 #B4422D #5CB42D #2DA0B4
square
#852DB4 #B4422D #5CB42D #2DA0B4
split-complementary
#852DB4 #A0B42D #2DB442
monochromatic
#3D1552 #612183 #852DB4 #A34CD2 #BD7DDE

Accessibility & contrast

On white

6.93
#852DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#852DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DB4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DB4#FFFFFF#000000##FFFFFF
##852DB41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#7F4D6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852db4;
/* rgb */ color: rgb(133, 45, 180);
/* oklch */ color: oklch(49.3% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#ad6fcb',
    500: '#852db4',
    950: '#000000',
  },
}
SCSS
$custom: #852db4;
$custom-light: #ad6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#852db4",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 279.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.20432,
    "h": 310.7
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#852DB4
secondary
#92C776
accent
#E3457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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