#852DBE#852DBE

#852DBE is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.214 H 307.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#852DBE
RGBrgb(133, 45, 190)
HSLhsl(276, 62%, 46%)
HSVhsv(276, 76%, 75%)
CMYKcmyk(30%, 76.3%, 0%, 25.5%)
CIE-LABlab(38.87, 60.42, -59.39)
CIE-LCHlch(38.87, 84.73, 315.49°)
OKLaboklab(50.02% 0.1313 -0.1687)
OKLCHoklch(50.02% 0.214 307.9)
XYZxyz(19.9036, 10.5813, 49.6991)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DBE #66BE2D
analogous
#3D2DBE #852DBE #BE2DAE
triadic
#852DBE #BE852D #2DBE85
tetradic
#852DBE #BE3D2D #66BE2D #2DAEBE
square
#852DBE #BE3D2D #66BE2D #2DAEBE
split-complementary
#852DBE #AEBE2D #2DBE3D
monochromatic
#40165B #62218D #852DBE #A252D6 #BD84E2

Accessibility & contrast

On white

6.74
#852DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#852DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DBE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DBE#FFFFFF#000000##FFFFFF
##852DBE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#7C5174
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852dbe;
/* rgb */ color: rgb(133, 45, 190);
/* oklch */ color: oklch(50.0% 0.214 307.9);
Tailwind
colors: {
  custom: {
    50: '#ae70d2',
    500: '#852dbe',
    950: '#000000',
  },
}
SCSS
$custom: #852dbe;
$custom-light: #ae70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#852dbe",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 276.414,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.21378,
    "h": 307.9
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#852DBE
secondary
#9BCB7C
accent
#E54383
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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