#852FC5#852FC5

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

Color values

HEX#852FC5
RGBrgb(133, 47, 197)
HSLhsl(274, 61%, 48%)
HSVhsv(274, 76%, 77%)
CMYKcmyk(32.5%, 76.1%, 0%, 22.7%)
CIE-LABlab(39.67, 61.20, -62.19)
CIE-LCHlch(39.67, 87.25, 314.54°)
OKLaboklab(50.75% 0.128 -0.177)
OKLCHoklch(50.75% 0.218 305.9)
XYZxyz(20.7652, 11.0510, 53.8516)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC5 #6FC52F
analogous
#3A2FC5 #852FC5 #C52FBA
triadic
#852FC5 #C5852F #2FC585
tetradic
#852FC5 #C53A2F #6FC52F #2FBAC5
square
#852FC5 #C53A2F #6FC52F #2FBAC5
split-complementary
#852FC5 #BAC52F #2FC53A
monochromatic
#421762 #642394 #852FC5 #A25AD8 #BE8BE3

Accessibility & contrast

On white

6.54
#852FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#852FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC5#FFFFFF#000000##FFFFFF
##852FC51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#795579
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852fc5;
/* rgb */ color: rgb(133, 47, 197);
/* oklch */ color: oklch(50.8% 0.218 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae71d8',
    500: '#852fc5',
    950: '#000000',
  },
}
SCSS
$custom: #852fc5;
$custom-light: #ae71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc5",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 274.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.21842,
    "h": 305.9
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#852FC5
secondary
#A2CD82
accent
#E54388
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #852FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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