#852FCC#852FCC

#852FCC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.225 H 304.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#852FCC
RGBrgb(133, 47, 204)
HSLhsl(273, 63%, 49%)
HSVhsv(273, 77%, 80%)
CMYKcmyk(34.8%, 77%, 0%, 20%)
CIE-LABlab(40.21, 62.76, -65.37)
CIE-LCHlch(40.21, 90.62, 313.83°)
OKLaboklab(51.3% 0.1264 -0.1863)
OKLCHoklch(51.3% 0.225 304.2)
XYZxyz(21.5859, 11.3793, 58.1743)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FCC #76CC2F
analogous
#362FCC #852FCC #CC2FC5
triadic
#852FCC #CC852F #2FCC85
tetradic
#852FCC #CC362F #76CC2F #2FC5CC
square
#852FCC #CC362F #76CC2F #2FC5CC
split-complementary
#852FCC #C5CC2F #2FCC36
monochromatic
#441869 #65249A #852FCC #A25EDA #BF90E5

Accessibility & contrast

On white

6.41
#852FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#852FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FCC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FCC#FFFFFF#000000##FFFFFF
##852FCC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#77587D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #852fcc;
/* rgb */ color: rgb(133, 47, 204);
/* oklch */ color: oklch(51.3% 0.225 304.2);
Tailwind
colors: {
  custom: {
    50: '#af71dd',
    500: '#852fcc',
    950: '#000000',
  },
}
SCSS
$custom: #852fcc;
$custom-light: #af71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#852fcc",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 272.866,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.22515,
    "h": 304.2
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#852FCC
secondary
#A8D087
accent
#E6428C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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