#852EBE#852EBE

#852EBE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.213 H 307.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#852EBE
RGBrgb(133, 46, 190)
HSLhsl(276, 61%, 46%)
HSVhsv(276, 76%, 75%)
CMYKcmyk(30%, 75.8%, 0%, 25.5%)
CIE-LABlab(39.00, 60.04, -59.18)
CIE-LCHlch(39.00, 84.30, 315.42°)
OKLaboklab(50.12% 0.1304 -0.1681)
OKLCHoklch(50.12% 0.213 307.8)
XYZxyz(19.9422, 10.6585, 49.7120)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EBE #67BE2E
analogous
#3D2EBE #852EBE #BE2EAF
triadic
#852EBE #BE852E #2EBE85
tetradic
#852EBE #BE3D2E #67BE2E #2EAFBE
square
#852EBE #BE3D2E #67BE2E #2EAFBE
split-complementary
#852EBE #AFBE2E #2EBE3D
monochromatic
#40165B #63228D #852EBE #A254D6 #BD85E1

Accessibility & contrast

On white

6.71
#852EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#852EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EBE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EBE#FFFFFF#000000##FFFFFF
##852EBE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#7C5175
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852ebe;
/* rgb */ color: rgb(133, 46, 190);
/* oklch */ color: oklch(50.1% 0.213 307.8);
Tailwind
colors: {
  custom: {
    50: '#ae70d2',
    500: '#852ebe',
    950: '#000000',
  },
}
SCSS
$custom: #852ebe;
$custom-light: #ae70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#852ebe",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 276.25,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.21275,
    "h": 307.8
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#852EBE
secondary
#9CCB7D
accent
#E44483
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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