#852FAF#852FAF

#852FAF is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.197 H 312.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#852FAF
RGBrgb(133, 47, 175)
HSLhsl(280, 58%, 44%)
HSVhsv(280, 73%, 69%)
CMYKcmyk(24%, 73.1%, 0%, 31.4%)
CIE-LABlab(38.05, 56.41, -51.86)
CIE-LCHlch(38.05, 76.63, 317.41°)
OKLaboklab(49.1% 0.1321 -0.1466)
OKLCHoklch(49.1% 0.197 312)
XYZxyz(18.4258, 10.1152, 41.5309)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FAF #59AF2F
analogous
#452FAF #852FAF #AF2F99
triadic
#852FAF #AF852F #2FAF85
tetradic
#852FAF #AF452F #59AF2F #2F99AF
square
#852FAF #AF452F #59AF2F #2F99AF
split-complementary
#852FAF #99AF2F #2FAF45
monochromatic
#3C154F #60227F #852FAF #A44CCF #BD7CDC

Accessibility & contrast

On white

6.95
#852FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#852FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FAF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FAF#FFFFFF#000000##FFFFFF
##852FAF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#804C6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852faf;
/* rgb */ color: rgb(133, 47, 175);
/* oklch */ color: oklch(49.1% 0.197 312.0);
Tailwind
colors: {
  custom: {
    50: '#ad70c8',
    500: '#852faf',
    950: '#000000',
  },
}
SCSS
$custom: #852faf;
$custom-light: #ad70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#852faf",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 280.313,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.491,
    "c": 0.19732,
    "h": 312
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#852FAF
secondary
#8FC475
accent
#E14779
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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