#852EE3#852EE3

#852EE3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.1% C 0.248 H 299.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#852EE3
RGBrgb(133, 46, 227)
HSLhsl(269, 76%, 54%)
HSVhsv(269, 80%, 89%)
CMYKcmyk(41.4%, 79.7%, 0%, 11%)
CIE-LABlab(41.98, 68.35, -75.70)
CIE-LCHlch(41.98, 101.99, 312.08°)
OKLaboklab(53.12% 0.1209 -0.2166)
OKLCHoklch(53.12% 0.248 299.2)
XYZxyz(24.5114, 12.4862, 73.7768)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EE3 #8CE32E
analogous
#2E31E3 #852EE3 #E02EE3
triadic
#852EE3 #E3852E #2EE385
tetradic
#852EE3 #E32E31 #8CE32E #2EE3E0
square
#852EE3 #E32E31 #8CE32E #2EE3E0
split-complementary
#852EE3 #E3E02E #31E32E
monochromatic
#491285 #6719BB #852EE3 #A564EA #C49AF1

Accessibility & contrast

On white

6.00
#852EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#852EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EE3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EE3#FFFFFF#000000##FFFFFF
##852EE31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#6E618A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #852ee3;
/* rgb */ color: rgb(133, 46, 227);
/* oklch */ color: oklch(53.1% 0.248 299.2);
Tailwind
colors: {
  custom: {
    50: '#b172ed',
    500: '#852ee3',
    950: '#000000',
  },
}
SCSS
$custom: #852ee3;
$custom-light: #b172ed;
$custom-dark: #000000;
JSON
{
  "hex": "#852ee3",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 268.84,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.24807,
    "h": 299.2
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#852EE3
secondary
#B8DD90
accent
#F33598
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #852EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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