#852FBA#852FBA

#852FBA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.208 H 308.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#852FBA
RGBrgb(133, 47, 186)
HSLhsl(277, 60%, 46%)
HSVhsv(277, 75%, 73%)
CMYKcmyk(28.5%, 74.7%, 0%, 27.1%)
CIE-LABlab(38.84, 58.78, -57.09)
CIE-LCHlch(38.84, 81.94, 315.84°)
OKLaboklab(49.91% 0.1303 -0.162)
OKLCHoklch(49.91% 0.208 308.8)
XYZxyz(19.5505, 10.5651, 47.4542)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FBA #64BA2F
analogous
#3F2FBA #852FBA #BA2FA9
triadic
#852FBA #BA852F #2FBA85
tetradic
#852FBA #BA3F2F #64BA2F #2FA9BA
square
#852FBA #BA3F2F #64BA2F #2FA9BA
split-complementary
#852FBA #A9BA2F #2FBA3F
monochromatic
#3F1658 #622389 #852FBA #A253D3 #BD84E0

Accessibility & contrast

On white

6.75
#852FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#852FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FBA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FBA#FFFFFF#000000##FFFFFF
##852FBA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#7D5073
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852fba;
/* rgb */ color: rgb(133, 47, 186);
/* oklch */ color: oklch(49.9% 0.208 308.8);
Tailwind
colors: {
  custom: {
    50: '#ad70d0',
    500: '#852fba',
    950: '#000000',
  },
}
SCSS
$custom: #852fba;
$custom-light: #ad70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#852fba",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 277.122,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.20786,
    "h": 308.8
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#852FBA
secondary
#99C97C
accent
#E34581
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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