#852FC2#852FC2

#852FC2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.216 H 306.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#852FC2
RGBrgb(133, 47, 194)
HSLhsl(275, 61%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.4%, 75.8%, 0%, 23.9%)
CIE-LABlab(39.44, 60.54, -60.81)
CIE-LCHlch(39.44, 85.80, 314.87°)
OKLaboklab(50.52% 0.1287 -0.1729)
OKLCHoklch(50.52% 0.216 306.7)
XYZxyz(20.4249, 10.9148, 52.0593)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC2 #6CC22F
analogous
#3B2FC2 #852FC2 #C22FB6
triadic
#852FC2 #C2852F #2FC285
tetradic
#852FC2 #C23B2F #6CC22F #2FB6C2
square
#852FC2 #C23B2F #6CC22F #2FB6C2
split-complementary
#852FC2 #B6C22F #2FC23B
monochromatic
#41175F #632391 #852FC2 #A258D6 #BD89E2

Accessibility & contrast

On white

6.60
#852FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#852FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC2#FFFFFF#000000##FFFFFF
##852FC21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#7A5477
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852fc2;
/* rgb */ color: rgb(133, 47, 194);
/* oklch */ color: oklch(50.5% 0.216 306.7);
Tailwind
colors: {
  custom: {
    50: '#ae71d5',
    500: '#852fc2',
    950: '#000000',
  },
}
SCSS
$custom: #852fc2;
$custom-light: #ae71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc2",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 275.102,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.21554,
    "h": 306.7
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#852FC2
secondary
#A0CC81
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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