#852CBD#852CBD

#852CBD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.214 H 308.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#852CBD
RGBrgb(133, 44, 189)
HSLhsl(277, 62%, 46%)
HSVhsv(277, 77%, 74%)
CMYKcmyk(29.6%, 76.7%, 0%, 25.9%)
CIE-LABlab(38.66, 60.58, -59.14)
CIE-LCHlch(38.66, 84.66, 315.69°)
OKLaboklab(49.85% 0.1323 -0.168)
OKLCHoklch(49.85% 0.214 308.2)
XYZxyz(19.7569, 10.4623, 49.1129)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CBD #64BD2C
analogous
#3D2CBD #852CBD #BD2CAC
triadic
#852CBD #BD852C #2CBD85
tetradic
#852CBD #BD3D2C #64BD2C #2CACBD
square
#852CBD #BD3D2C #64BD2C #2CACBD
split-complementary
#852CBD #ACBD2C #2CBD3D
monochromatic
#3F155A #62208B #852CBD #A250D6 #BD82E2

Accessibility & contrast

On white

6.79
#852CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#852CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CBD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CBD#FFFFFF#000000##FFFFFF
##852CBD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#7C5074
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852cbd;
/* rgb */ color: rgb(133, 44, 189);
/* oklch */ color: oklch(49.9% 0.214 308.2);
Tailwind
colors: {
  custom: {
    50: '#ae6fd2',
    500: '#852cbd',
    950: '#000000',
  },
}
SCSS
$custom: #852cbd;
$custom-light: #ae6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#852cbd",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 276.828,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.21386,
    "h": 308.2
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#852CBD
secondary
#99CB7A
accent
#E54281
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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