#852BD2#852BD2

#852BD2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.235 H 303.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#852BD2
RGBrgb(133, 43, 210)
HSLhsl(272, 66%, 50%)
HSVhsv(272, 80%, 82%)
CMYKcmyk(36.7%, 79.5%, 0%, 17.6%)
CIE-LABlab(40.19, 65.56, -68.87)
CIE-LCHlch(40.19, 95.09, 313.59°)
OKLaboklab(51.44% 0.1279 -0.1966)
OKLCHoklch(51.44% 0.235 303.1)
XYZxyz(22.1668, 11.3674, 61.9866)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BD2 #78D22B
analogous
#312BD2 #852BD2 #D22BCC
triadic
#852BD2 #D2852B #2BD285
tetradic
#852BD2 #D2312B #78D22B #2BCCD2
square
#852BD2 #D2312B #78D22B #2BCCD2
split-complementary
#852BD2 #CCD22B #2BD231
monochromatic
#45166C #65219F #852BD2 #A25CDE #BF8FE8

Accessibility & contrast

On white

6.42
#852BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#852BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BD2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BD2#FFFFFF#000000##FFFFFF
##852BD21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#75597F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #852bd2;
/* rgb */ color: rgb(133, 43, 210);
/* oklch */ color: oklch(51.4% 0.235 303.1);
Tailwind
colors: {
  custom: {
    50: '#af70e1',
    500: '#852bd2',
    950: '#000000',
  },
}
SCSS
$custom: #852bd2;
$custom-light: #af70e1;
$custom-dark: #000000;
JSON
{
  "hex": "#852bd2",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 210
  },
  "hsl": {
    "h": 272.335,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.23456,
    "h": 303.1
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#852BD2
secondary
#A9D386
accent
#E93F8D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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