#852EBF#852EBF

#852EBF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.214 H 307.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#852EBF
RGBrgb(133, 46, 191)
HSLhsl(276, 61%, 46%)
HSVhsv(276, 76%, 75%)
CMYKcmyk(30.4%, 75.9%, 0%, 25.1%)
CIE-LABlab(39.07, 60.26, -59.64)
CIE-LCHlch(39.07, 84.78, 315.30°)
OKLaboklab(50.19% 0.1302 -0.1695)
OKLCHoklch(50.19% 0.214 307.5)
XYZxyz(20.0518, 10.7024, 50.2895)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EBF #68BF2E
analogous
#3D2EBF #852EBF #BF2EB1
triadic
#852EBF #BF852E #2EBF85
tetradic
#852EBF #BF3D2E #68BF2E #2EB1BF
square
#852EBF #BF3D2E #68BF2E #2EB1BF
split-complementary
#852EBF #B1BF2E #2EBF3D
monochromatic
#40165C #63228E #852EBF #A254D6 #BD86E2

Accessibility & contrast

On white

6.69
#852EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#852EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EBF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EBF#FFFFFF#000000##FFFFFF
##852EBF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#7B5275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852ebf;
/* rgb */ color: rgb(133, 46, 191);
/* oklch */ color: oklch(50.2% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#ae70d3',
    500: '#852ebf',
    950: '#000000',
  },
}
SCSS
$custom: #852ebf;
$custom-light: #ae70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#852ebf",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 276,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.21371,
    "h": 307.5
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#852EBF
secondary
#9DCB7E
accent
#E44484
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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