#852EC2#852EC2

#852EC2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.217 H 306.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#852EC2
RGBrgb(133, 46, 194)
HSLhsl(275, 62%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.4%, 76.3%, 0%, 23.9%)
CIE-LABlab(39.30, 60.92, -61.03)
CIE-LCHlch(39.30, 86.23, 314.95°)
OKLaboklab(50.42% 0.1295 -0.1735)
OKLCHoklch(50.42% 0.217 306.7)
XYZxyz(20.3854, 10.8358, 52.0461)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EC2 #6BC22E
analogous
#3B2EC2 #852EC2 #C22EB5
triadic
#852EC2 #C2852E #2EC285
tetradic
#852EC2 #C23B2E #6BC22E #2EB5C2
square
#852EC2 #C23B2E #6BC22E #2EB5C2
split-complementary
#852EC2 #B5C22E #2EC23B
monochromatic
#41175F #632291 #852EC2 #A256D7 #BD88E3

Accessibility & contrast

On white

6.63
#852EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852EC2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EC2#FFFFFF#000000##FFFFFF
##852EC21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852ec2;
/* rgb */ color: rgb(133, 46, 194);
/* oklch */ color: oklch(50.4% 0.217 306.7);
Tailwind
colors: {
  custom: {
    50: '#ae70d5',
    500: '#852ec2',
    950: '#000000',
  },
}
SCSS
$custom: #852ec2;
$custom-light: #ae70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#852ec2",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 275.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.21656,
    "h": 306.7
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#852EC2
secondary
#9FCC7F
accent
#E54386
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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