#852EBA#852EBA

#852EBA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.209 H 308.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#852EBA
RGBrgb(133, 46, 186)
HSLhsl(277, 60%, 45%)
HSVhsv(277, 75%, 73%)
CMYKcmyk(28.5%, 75.3%, 0%, 27.1%)
CIE-LABlab(38.70, 59.17, -57.31)
CIE-LCHlch(38.70, 82.37, 315.92°)
OKLaboklab(49.81% 0.1312 -0.1626)
OKLCHoklch(49.81% 0.209 308.9)
XYZxyz(19.5110, 10.4861, 47.4410)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EBA #63BA2E
analogous
#3F2EBA #852EBA #BA2EA9
triadic
#852EBA #BA852E #2EBA85
tetradic
#852EBA #BA3F2E #63BA2E #2EA9BA
square
#852EBA #BA3F2E #63BA2E #2EA9BA
split-complementary
#852EBA #A9BA2E #2EBA3F
monochromatic
#3F1658 #622289 #852EBA #A251D4 #BD82E0

Accessibility & contrast

On white

6.78
#852EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#852EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EBA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EBA#FFFFFF#000000##FFFFFF
##852EBA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#7D5072
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852eba;
/* rgb */ color: rgb(133, 46, 186);
/* oklch */ color: oklch(49.8% 0.209 308.9);
Tailwind
colors: {
  custom: {
    50: '#ad70d0',
    500: '#852eba',
    950: '#000000',
  },
}
SCSS
$custom: #852eba;
$custom-light: #ad70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#852eba",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 277.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.20893,
    "h": 308.9
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#852EBA
secondary
#98C97B
accent
#E34481
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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