#852EAF#852EAF

#852EAF is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.198 H 312.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#852EAF
RGBrgb(133, 46, 175)
HSLhsl(280, 58%, 43%)
HSVhsv(280, 74%, 69%)
CMYKcmyk(24%, 73.7%, 0%, 31.4%)
CIE-LABlab(37.91, 56.81, -52.09)
CIE-LCHlch(37.91, 77.07, 317.49°)
OKLaboklab(49% 0.133 -0.1473)
OKLCHoklch(49% 0.198 312.1)
XYZxyz(18.3863, 10.0362, 41.5178)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EAF #58AF2E
analogous
#442EAF #852EAF #AF2E98
triadic
#852EAF #AF852E #2EAF85
tetradic
#852EAF #AF442E #58AF2E #2E98AF
square
#852EAF #AF442E #58AF2E #2E98AF
split-complementary
#852EAF #98AF2E #2EAF44
monochromatic
#3B154E #60217F #852EAF #A44BD0 #BD7BDC

Accessibility & contrast

On white

6.98
#852EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#852EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EAF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EAF#FFFFFF#000000##FFFFFF
##852EAF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#804B6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852eaf;
/* rgb */ color: rgb(133, 46, 175);
/* oklch */ color: oklch(49.0% 0.198 312.1);
Tailwind
colors: {
  custom: {
    50: '#ad6fc8',
    500: '#852eaf',
    950: '#000000',
  },
}
SCSS
$custom: #852eaf;
$custom-light: #ad6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#852eaf",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 280.465,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49,
    "c": 0.19846,
    "h": 312.1
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#852EAF
secondary
#8EC574
accent
#E24679
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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