#852FC1#852FC1

#852FC1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.215 H 306.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#852FC1
RGBrgb(133, 47, 193)
HSLhsl(275, 61%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.1%, 75.6%, 0%, 24.3%)
CIE-LABlab(39.36, 60.31, -60.35)
CIE-LCHlch(39.36, 85.32, 314.98°)
OKLaboklab(50.44% 0.1289 -0.1716)
OKLCHoklch(50.44% 0.215 306.9)
XYZxyz(20.3129, 10.8701, 51.4698)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC1 #6BC12F
analogous
#3C2FC1 #852FC1 #C12FB4
triadic
#852FC1 #C1852F #2FC185
tetradic
#852FC1 #C13C2F #6BC12F #2FB4C1
square
#852FC1 #C13C2F #6BC12F #2FB4C1
split-complementary
#852FC1 #B4C12F #2FC13C
monochromatic
#41175F #632390 #852FC1 #A257D6 #BD88E2

Accessibility & contrast

On white

6.62
#852FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#852FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC1#FFFFFF#000000##FFFFFF
##852FC11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#7B5377
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852fc1;
/* rgb */ color: rgb(133, 47, 193);
/* oklch */ color: oklch(50.4% 0.215 306.9);
Tailwind
colors: {
  custom: {
    50: '#ae71d5',
    500: '#852fc1',
    950: '#000000',
  },
}
SCSS
$custom: #852fc1;
$custom-light: #ae71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc1",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 275.342,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50441,
    "c": 0.21458,
    "h": 306.9
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#852FC1
secondary
#9FCC80
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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