#852BC4#852BC4

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

Color values

HEX#852BC4
RGBrgb(133, 43, 196)
HSLhsl(275, 64%, 47%)
HSVhsv(275, 78%, 77%)
CMYKcmyk(32.1%, 78.1%, 0%, 23.1%)
CIE-LABlab(39.07, 62.47, -62.57)
CIE-LCHlch(39.07, 88.42, 314.95°)
OKLaboklab(50.31% 0.1316 -0.1781)
OKLCHoklch(50.31% 0.221 306.5)
XYZxyz(20.4984, 10.7000, 53.1993)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BC4 #6AC42B
analogous
#382BC4 #852BC4 #C42BB7
triadic
#852BC4 #C4852B #2BC485
tetradic
#852BC4 #C4382B #6AC42B #2BB7C4
square
#852BC4 #C4382B #6AC42B #2BB7C4
split-complementary
#852BC4 #B7C42B #2BC438
monochromatic
#411560 #632092 #852BC4 #A253D9 #BD85E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852BC4#FFFFFF#000000##FFFFFF
##852BC41.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)
#0059C8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#7A5377
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852bc4;
/* rgb */ color: rgb(133, 43, 196);
/* oklch */ color: oklch(50.3% 0.221 306.5);
Tailwind
colors: {
  custom: {
    50: '#ae6fd7',
    500: '#852bc4',
    950: '#000000',
  },
}
SCSS
$custom: #852bc4;
$custom-light: #ae6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#852bc4",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 275.294,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.22142,
    "h": 306.5
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#852BC4
secondary
#9ECE7D
accent
#E74185
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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