#852BCC#852BCC

#852BCC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.229 H 304.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#852BCC
RGBrgb(133, 43, 204)
HSLhsl(274, 65%, 48%)
HSVhsv(274, 79%, 80%)
CMYKcmyk(34.8%, 78.9%, 0%, 20%)
CIE-LABlab(39.70, 64.23, -66.20)
CIE-LCHlch(39.70, 92.24, 314.14°)
OKLaboklab(50.95% 0.1296 -0.1887)
OKLCHoklch(50.95% 0.229 304.5)
XYZxyz(21.4333, 11.0740, 58.1234)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BCC #72CC2B
analogous
#342BCC #852BCC #CC2BC2
triadic
#852BCC #CC852B #2BCC85
tetradic
#852BCC #CC342B #72CC2B #2BC2CC
square
#852BCC #CC342B #72CC2B #2BC2CC
split-complementary
#852BCC #C2CC2B #2BCC34
monochromatic
#431667 #642099 #852BCC #A258DC #BE8BE7

Accessibility & contrast

On white

6.53
#852BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#852BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BCC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BCC#FFFFFF#000000##FFFFFF
##852BCC1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#77567C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852bcc;
/* rgb */ color: rgb(133, 43, 204);
/* oklch */ color: oklch(50.9% 0.229 304.5);
Tailwind
colors: {
  custom: {
    50: '#af6fdd',
    500: '#852bcc',
    950: '#000000',
  },
}
SCSS
$custom: #852bcc;
$custom-light: #af6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#852bcc",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 273.54,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.22892,
    "h": 304.5
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#852BCC
secondary
#A5D082
accent
#E8408A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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