#852FBD#852FBD

#852FBD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.211 H 308.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#852FBD
RGBrgb(133, 47, 189)
HSLhsl(276, 60%, 46%)
HSVhsv(276, 75%, 74%)
CMYKcmyk(29.6%, 75.1%, 0%, 25.9%)
CIE-LABlab(39.06, 59.43, -58.49)
CIE-LCHlch(39.06, 83.39, 315.46°)
OKLaboklab(50.14% 0.1297 -0.1661)
OKLCHoklch(50.14% 0.211 308)
XYZxyz(19.8728, 10.6940, 49.1515)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FBD #67BD2F
analogous
#3E2FBD #852FBD #BD2FAE
triadic
#852FBD #BD852F #2FBD85
tetradic
#852FBD #BD3E2F #67BD2F #2FAEBD
square
#852FBD #BD3E2F #67BD2F #2FAEBD
split-complementary
#852FBD #AEBD2F #2FBD3E
monochromatic
#40175B #63238C #852FBD #A255D5 #BD86E1

Accessibility & contrast

On white

6.69
#852FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#852FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FBD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FBD#FFFFFF#000000##FFFFFF
##852FBD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852fbd;
/* rgb */ color: rgb(133, 47, 189);
/* oklch */ color: oklch(50.1% 0.211 308.0);
Tailwind
colors: {
  custom: {
    50: '#ae70d2',
    500: '#852fbd',
    950: '#000000',
  },
}
SCSS
$custom: #852fbd;
$custom-light: #ae70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#852fbd",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 276.338,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.21073,
    "h": 308
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#852FBD
secondary
#9CCA7E
accent
#E34483
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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