#852FC3#852FC3

#852FC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 306.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#852FC3
RGBrgb(133, 47, 195)
HSLhsl(275, 61%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.8%, 75.9%, 0%, 23.5%)
CIE-LABlab(39.51, 60.76, -61.27)
CIE-LCHlch(39.51, 86.29, 314.76°)
OKLaboklab(50.6% 0.1285 -0.1743)
OKLCHoklch(50.6% 0.217 306.4)
XYZxyz(20.5376, 10.9599, 52.6527)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC3 #6DC32F
analogous
#3B2FC3 #852FC3 #C32FB7
triadic
#852FC3 #C3852F #2FC385
tetradic
#852FC3 #C33B2F #6DC32F #2FB7C3
square
#852FC3 #C33B2F #6DC32F #2FB7C3
split-complementary
#852FC3 #B7C32F #2FC33B
monochromatic
#421760 #632392 #852FC3 #A258D7 #BD8AE3

Accessibility & contrast

On white

6.58
#852FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#852FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC3#FFFFFF#000000##FFFFFF
##852FC31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852fc3;
/* rgb */ color: rgb(133, 47, 195);
/* oklch */ color: oklch(50.6% 0.216 306.4);
Tailwind
colors: {
  custom: {
    50: '#ae71d6',
    500: '#852fc3',
    950: '#000000',
  },
}
SCSS
$custom: #852fc3;
$custom-light: #ae71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc3",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 274.865,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.2165,
    "h": 306.4
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#852FC3
secondary
#A1CD81
accent
#E44487
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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