#852FBC#852FBC

#852FBC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 308.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#852FBC
RGBrgb(133, 47, 188)
HSLhsl(277, 60%, 46%)
HSVhsv(277, 75%, 74%)
CMYKcmyk(29.3%, 75%, 0%, 26.3%)
CIE-LABlab(38.99, 59.22, -58.02)
CIE-LCHlch(38.99, 82.91, 315.58°)
OKLaboklab(50.06% 0.1299 -0.1647)
OKLCHoklch(50.06% 0.21 308.3)
XYZxyz(19.7646, 10.6507, 48.5818)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FBC #66BC2F
analogous
#3F2FBC #852FBC #BC2FAC
triadic
#852FBC #BC852F #2FBC85
tetradic
#852FBC #BC3F2F #66BC2F #2FACBC
square
#852FBC #BC3F2F #66BC2F #2FACBC
split-complementary
#852FBC #ACBC2F #2FBC3F
monochromatic
#40175A #62238B #852FBC #A254D4 #BD85E0

Accessibility & contrast

On white

6.71
#852FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#852FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FBC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FBC#FFFFFF#000000##FFFFFF
##852FBC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852fbc;
/* rgb */ color: rgb(133, 47, 188);
/* oklch */ color: oklch(50.1% 0.210 308.3);
Tailwind
colors: {
  custom: {
    50: '#ae70d1',
    500: '#852fbc',
    950: '#000000',
  },
}
SCSS
$custom: #852fbc;
$custom-light: #ae70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#852fbc",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 276.596,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.20977,
    "h": 308.3
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#852FBC
secondary
#9BCA7D
accent
#E34582
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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