#852FC6#852FC6

#852FC6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.219 H 305.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#852FC6
RGBrgb(133, 47, 198)
HSLhsl(274, 62%, 48%)
HSVhsv(274, 76%, 78%)
CMYKcmyk(32.8%, 76.3%, 0%, 22.4%)
CIE-LABlab(39.74, 61.42, -62.65)
CIE-LCHlch(39.74, 87.73, 314.43°)
OKLaboklab(50.83% 0.1278 -0.1783)
OKLCHoklch(50.83% 0.219 305.6)
XYZxyz(20.8801, 11.0970, 54.4571)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC6 #70C62F
analogous
#392FC6 #852FC6 #C62FBB
triadic
#852FC6 #C6852F #2FC685
tetradic
#852FC6 #C6392F #70C62F #2FBBC6
square
#852FC6 #C6392F #70C62F #2FBBC6
split-complementary
#852FC6 #BBC62F #2FC639
monochromatic
#431863 #642395 #852FC6 #A25AD8 #BE8CE4

Accessibility & contrast

On white

6.52
#852FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#852FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC6#FFFFFF#000000##FFFFFF
##852FC61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#795579
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852fc6;
/* rgb */ color: rgb(133, 47, 198);
/* oklch */ color: oklch(50.8% 0.219 305.6);
Tailwind
colors: {
  custom: {
    50: '#ae71d8',
    500: '#852fc6',
    950: '#000000',
  },
}
SCSS
$custom: #852fc6;
$custom-light: #ae71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc6",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 274.172,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.21938,
    "h": 305.6
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#852FC6
secondary
#A3CE83
accent
#E54389
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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