#852ACD#852ACD

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

Color values

HEX#852ACD
RGBrgb(133, 42, 205)
HSLhsl(273, 66%, 48%)
HSVhsv(273, 80%, 80%)
CMYKcmyk(35.1%, 79.5%, 0%, 19.6%)
CIE-LABlab(39.67, 64.80, -66.84)
CIE-LCHlch(39.67, 93.10, 314.11°)
OKLaboklab(50.95% 0.1301 -0.1906)
OKLCHoklch(50.95% 0.231 304.3)
XYZxyz(21.5177, 11.0503, 58.7451)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852ACD #72CD2A
analogous
#332ACD #852ACD #CD2AC3
triadic
#852ACD #CD852A #2ACD85
tetradic
#852ACD #CD332A #72CD2A #2AC3CD
square
#852ACD #CD332A #72CD2A #2AC3CD
split-complementary
#852ACD #C3CD2A #2ACD33
monochromatic
#431567 #64209A #852ACD #A258DD #BE8AE7

Accessibility & contrast

On white

6.54
#852ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852ACD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852ACD#FFFFFF#000000##FFFFFF
##852ACD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#77567C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852acd;
/* rgb */ color: rgb(133, 42, 205);
/* oklch */ color: oklch(50.9% 0.231 304.3);
Tailwind
colors: {
  custom: {
    50: '#af6fdd',
    500: '#852acd',
    950: '#000000',
  },
}
SCSS
$custom: #852acd;
$custom-light: #af6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#852acd",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 205
  },
  "hsl": {
    "h": 273.497,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.23075,
    "h": 304.3
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#852ACD
secondary
#A5D182
accent
#E93F8A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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