#852FC9#852FC9

#852FC9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.1% C 0.222 H 304.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#852FC9
RGBrgb(133, 47, 201)
HSLhsl(274, 62%, 49%)
HSVhsv(274, 77%, 79%)
CMYKcmyk(33.8%, 76.6%, 0%, 21.2%)
CIE-LABlab(39.98, 62.09, -64.01)
CIE-LCHlch(39.98, 89.18, 314.13°)
OKLaboklab(51.07% 0.1271 -0.1823)
OKLCHoklch(51.07% 0.222 304.9)
XYZxyz(21.2296, 11.2367, 56.2975)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FC9 #73C92F
analogous
#382FC9 #852FC9 #C92FC0
triadic
#852FC9 #C9852F #2FC985
tetradic
#852FC9 #C9382F #73C92F #2FC0C9
square
#852FC9 #C9382F #73C92F #2FC0C9
split-complementary
#852FC9 #C0C92F #2FC938
monochromatic
#431866 #642397 #852FC9 #A25CD9 #BE8EE5

Accessibility & contrast

On white

6.47
#852FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#852FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FC9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FC9#FFFFFF#000000##FFFFFF
##852FC91.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#78577B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852fc9;
/* rgb */ color: rgb(133, 47, 201);
/* oklch */ color: oklch(51.1% 0.222 304.9);
Tailwind
colors: {
  custom: {
    50: '#af71da',
    500: '#852fc9',
    950: '#000000',
  },
}
SCSS
$custom: #852fc9;
$custom-light: #af71da;
$custom-dark: #000000;
JSON
{
  "hex": "#852fc9",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 273.506,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.22226,
    "h": 304.9
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#852FC9
secondary
#A6CF85
accent
#E5438A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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