#852FE2#852FE2

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

Color values

HEX#852FE2
RGBrgb(133, 47, 226)
HSLhsl(269, 76%, 54%)
HSVhsv(269, 79%, 89%)
CMYKcmyk(41.2%, 79.2%, 0%, 11.4%)
CIE-LABlab(42.02, 67.77, -75.07)
CIE-LCHlch(42.02, 101.13, 312.07°)
OKLaboklab(53.12% 0.1205 -0.2148)
OKLCHoklch(53.12% 0.246 299.3)
XYZxyz(24.4134, 12.5102, 73.0652)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FE2 #8CE22F
analogous
#2F32E2 #852FE2 #DE2FE2
triadic
#852FE2 #E2852F #2FE285
tetradic
#852FE2 #E22F32 #8CE22F #2FE2DE
square
#852FE2 #E22F32 #8CE22F #2FE2DE
split-complementary
#852FE2 #E2DE2F #32E22F
monochromatic
#491284 #671ABA #852FE2 #A565E9 #C49AF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852FE2#FFFFFF#000000##FFFFFF
##852FE21.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)
#0063E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#6E6189
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #852fe2;
/* rgb */ color: rgb(133, 47, 226);
/* oklch */ color: oklch(53.1% 0.246 299.3);
Tailwind
colors: {
  custom: {
    50: '#b172ec',
    500: '#852fe2',
    950: '#000000',
  },
}
SCSS
$custom: #852fe2;
$custom-light: #b172ec;
$custom-dark: #000000;
JSON
{
  "hex": "#852fe2",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 268.827,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.24627,
    "h": 299.3
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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