#852EBB#852EBB

#852EBB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.210 H 308.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#852EBB
RGBrgb(133, 46, 187)
HSLhsl(277, 61%, 46%)
HSVhsv(277, 75%, 73%)
CMYKcmyk(28.9%, 75.4%, 0%, 26.7%)
CIE-LABlab(38.78, 59.39, -57.78)
CIE-LCHlch(38.78, 82.86, 315.79°)
OKLaboklab(49.89% 0.131 -0.164)
OKLCHoklch(49.89% 0.21 308.6)
XYZxyz(19.6177, 10.5287, 48.0029)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EBB #64BB2E
analogous
#3E2EBB #852EBB #BB2EAA
triadic
#852EBB #BB852E #2EBB85
tetradic
#852EBB #BB3E2E #64BB2E #2EAABB
square
#852EBB #BB3E2E #64BB2E #2EAABB
split-complementary
#852EBB #AABB2E #2EBB3E
monochromatic
#3F1659 #62228A #852EBB #A252D4 #BD83E0

Accessibility & contrast

On white

6.76
#852EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#852EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EBB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EBB#FFFFFF#000000##FFFFFF
##852EBB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#7D5073
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852ebb;
/* rgb */ color: rgb(133, 46, 187);
/* oklch */ color: oklch(49.9% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#ae70d0',
    500: '#852ebb',
    950: '#000000',
  },
}
SCSS
$custom: #852ebb;
$custom-light: #ae70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#852ebb",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 277.021,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.20989,
    "h": 308.6
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#852EBB
secondary
#99CA7B
accent
#E44481
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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