#852EBD#852EBD

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

Color values

HEX#852EBD
RGBrgb(133, 46, 189)
HSLhsl(277, 61%, 46%)
HSVhsv(277, 76%, 74%)
CMYKcmyk(29.6%, 75.7%, 0%, 25.9%)
CIE-LABlab(38.92, 59.82, -58.71)
CIE-LCHlch(38.92, 83.82, 315.54°)
OKLaboklab(50.04% 0.1306 -0.1667)
OKLCHoklch(50.04% 0.212 308.1)
XYZxyz(19.8332, 10.6150, 49.1383)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EBD #66BD2E
analogous
#3D2EBD #852EBD #BD2EAD
triadic
#852EBD #BD852E #2EBD85
tetradic
#852EBD #BD3D2E #66BD2E #2EADBD
square
#852EBD #BD3D2E #66BD2E #2EADBD
split-complementary
#852EBD #ADBD2E #2EBD3D
monochromatic
#40165B #62228C #852EBD #A253D5 #BD84E1

Accessibility & contrast

On white

6.72
#852EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852EBD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EBD#FFFFFF#000000##FFFFFF
##852EBD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#7C5174
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852ebd;
/* rgb */ color: rgb(133, 46, 189);
/* oklch */ color: oklch(50.0% 0.212 308.1);
Tailwind
colors: {
  custom: {
    50: '#ae70d2',
    500: '#852ebd',
    950: '#000000',
  },
}
SCSS
$custom: #852ebd;
$custom-light: #ae70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#852ebd",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 276.503,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.21179,
    "h": 308.1
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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