#852FBF#852FBF

#852FBF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.213 H 307.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#852FBF
RGBrgb(133, 47, 191)
HSLhsl(276, 61%, 47%)
HSVhsv(276, 75%, 75%)
CMYKcmyk(30.4%, 75.4%, 0%, 25.1%)
CIE-LABlab(39.21, 59.87, -59.42)
CIE-LCHlch(39.21, 84.36, 315.22°)
OKLaboklab(50.29% 0.1293 -0.1688)
OKLCHoklch(50.29% 0.213 307.4)
XYZxyz(20.0913, 10.7814, 50.3027)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FBF #69BF2F
analogous
#3D2FBF #852FBF #BF2FB1
triadic
#852FBF #BF852F #2FBF85
tetradic
#852FBF #BF3D2F #69BF2F #2FB1BF
square
#852FBF #BF3D2F #69BF2F #2FB1BF
split-complementary
#852FBF #B1BF2F #2FBF3D
monochromatic
#41175D #63238E #852FBF #A256D5 #BD87E1

Accessibility & contrast

On white

6.65
#852FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#852FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FBF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FBF#FFFFFF#000000##FFFFFF
##852FBF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#7B5275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852fbf;
/* rgb */ color: rgb(133, 47, 191);
/* oklch */ color: oklch(50.3% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#ae70d3',
    500: '#852fbf',
    950: '#000000',
  },
}
SCSS
$custom: #852fbf;
$custom-light: #ae70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#852fbf",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 275.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.21266,
    "h": 307.4
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#852FBF
secondary
#9DCB7F
accent
#E44484
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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