#852ECF#852ECF

#852ECF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.5% C 0.229 H 303.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#852ECF
RGBrgb(133, 46, 207)
HSLhsl(272, 64%, 50%)
HSVhsv(272, 78%, 81%)
CMYKcmyk(35.7%, 77.8%, 0%, 18.8%)
CIE-LABlab(40.32, 63.81, -66.93)
CIE-LCHlch(40.32, 92.48, 313.63°)
OKLaboklab(51.46% 0.1265 -0.1909)
OKLCHoklch(51.46% 0.229 303.5)
XYZxyz(21.9097, 11.4455, 60.0743)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852ECF #78CF2E
analogous
#342ECF #852ECF #CF2EC9
triadic
#852ECF #CF852E #2ECF85
tetradic
#852ECF #CF342E #78CF2E #2EC9CF
square
#852ECF #CF342E #78CF2E #2EC9CF
split-complementary
#852ECF #C9CF2E #2ECF34
monochromatic
#45186B #65239D #852ECF #A25FDB #BF91E7

Accessibility & contrast

On white

6.38
#852ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#852ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852ECF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852ECF#FFFFFF#000000##FFFFFF
##852ECF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#76597E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #852ecf;
/* rgb */ color: rgb(133, 46, 207);
/* oklch */ color: oklch(51.5% 0.229 303.5);
Tailwind
colors: {
  custom: {
    50: '#af71df',
    500: '#852ecf',
    950: '#000000',
  },
}
SCSS
$custom: #852ecf;
$custom-light: #af71df;
$custom-dark: #000000;
JSON
{
  "hex": "#852ecf",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 272.422,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.22899,
    "h": 303.5
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#852ECF
secondary
#A9D188
accent
#E7418D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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