#852BCD#852BCD

#852BCD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.230 H 304.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#852BCD
RGBrgb(133, 43, 205)
HSLhsl(273, 65%, 49%)
HSVhsv(273, 79%, 80%)
CMYKcmyk(35.1%, 79%, 0%, 19.6%)
CIE-LABlab(39.79, 64.45, -66.65)
CIE-LCHlch(39.79, 92.71, 314.04°)
OKLaboklab(51.03% 0.1293 -0.19)
OKLCHoklch(51.03% 0.23 304.2)
XYZxyz(21.5536, 11.1221, 58.7571)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BCD #73CD2B
analogous
#342BCD #852BCD #CD2BC4
triadic
#852BCD #CD852B #2BCD85
tetradic
#852BCD #CD342B #73CD2B #2BC4CD
square
#852BCD #CD342B #73CD2B #2BC4CD
split-complementary
#852BCD #C4CD2B #2BCD34
monochromatic
#431668 #64209A #852BCD #A259DC #BE8CE7

Accessibility & contrast

On white

6.51
#852BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#852BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BCD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BCD#FFFFFF#000000##FFFFFF
##852BCD1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#77577D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852bcd;
/* rgb */ color: rgb(133, 43, 205);
/* oklch */ color: oklch(51.0% 0.230 304.2);
Tailwind
colors: {
  custom: {
    50: '#af6fdd',
    500: '#852bcd',
    950: '#000000',
  },
}
SCSS
$custom: #852bcd;
$custom-light: #af6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#852bcd",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 205
  },
  "hsl": {
    "h": 273.333,
    "s": 65.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.22986,
    "h": 304.2
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#852BCD
secondary
#A6D183
accent
#E8408B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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