#852FC4#852FC4

#852FC4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.217 H 306.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#852FC4
RGBrgb(133, 47, 196)
HSLhsl(275, 61%, 48%)
HSVhsv(275, 76%, 77%)
CMYKcmyk(32.1%, 76%, 0%, 23.1%)
CIE-LABlab(39.59, 60.98, -61.73)
CIE-LCHlch(39.59, 86.77, 314.65°)
OKLaboklab(50.67% 0.1282 -0.1756)
OKLCHoklch(50.67% 0.217 306.1)
XYZxyz(20.6510, 11.0053, 53.2502)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC4 #6EC42F
analogous
#3B2FC4 #852FC4 #C42FB8
triadic
#852FC4 #C4852F #2FC485
tetradic
#852FC4 #C43B2F #6EC42F #2FB8C4
square
#852FC4 #C43B2F #6EC42F #2FB8C4
split-complementary
#852FC4 #B8C42F #2FC43B
monochromatic
#421761 #642393 #852FC4 #A259D7 #BE8AE3

Accessibility & contrast

On white

6.56
#852FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#852FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC4#FFFFFF#000000##FFFFFF
##852FC41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852fc4;
/* rgb */ color: rgb(133, 47, 196);
/* oklch */ color: oklch(50.7% 0.217 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae71d7',
    500: '#852fc4',
    950: '#000000',
  },
}
SCSS
$custom: #852fc4;
$custom-light: #ae71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc4",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 274.631,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.21746,
    "h": 306.1
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#852FC4
secondary
#A2CD82
accent
#E44387
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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