#852FBE#852FBE

#852FBE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.212 H 307.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#852FBE
RGBrgb(133, 47, 190)
HSLhsl(276, 60%, 46%)
HSVhsv(276, 75%, 75%)
CMYKcmyk(30%, 75.3%, 0%, 25.5%)
CIE-LABlab(39.13, 59.65, -58.96)
CIE-LCHlch(39.13, 83.87, 315.34°)
OKLaboklab(50.21% 0.1295 -0.1675)
OKLCHoklch(50.21% 0.212 307.7)
XYZxyz(19.9817, 10.7376, 49.7251)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FBE #68BE2F
analogous
#3E2FBE #852FBE #BE2FB0
triadic
#852FBE #BE852F #2FBE85
tetradic
#852FBE #BE3E2F #68BE2F #2FB0BE
square
#852FBE #BE3E2F #68BE2F #2FB0BE
split-complementary
#852FBE #B0BE2F #2FBE3E
monochromatic
#40175C #63238D #852FBE #A255D5 #BD86E1

Accessibility & contrast

On white

6.67
#852FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#852FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FBE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FBE#FFFFFF#000000##FFFFFF
##852FBE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#7C5275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852fbe;
/* rgb */ color: rgb(133, 47, 190);
/* oklch */ color: oklch(50.2% 0.212 307.7);
Tailwind
colors: {
  custom: {
    50: '#ae70d2',
    500: '#852fbe',
    950: '#000000',
  },
}
SCSS
$custom: #852fbe;
$custom-light: #ae70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#852fbe",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 276.084,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.21169,
    "h": 307.7
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#852FBE
secondary
#9DCB7E
accent
#E34484
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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