#8352EF#8352EF

#8352EF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.223 H 292.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8352EF
RGBrgb(131, 82, 239)
HSLhsl(259, 83%, 63%)
HSVhsv(259, 66%, 94%)
CMYKcmyk(45.2%, 65.7%, 0%, 6.3%)
CIE-LABlab(48.37, 55.03, -72.05)
CIE-LCHlch(48.37, 90.66, 307.37°)
OKLaboklab(57.89% 0.0848 -0.2062)
OKLCHoklch(57.89% 0.223 292.4)
XYZxyz(27.9530, 17.0910, 83.4707)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8352EF #BEEF52
analogous
#526FEF #8352EF #D152EF
triadic
#8352EF #EF8352 #52EF83
tetradic
#8352EF #EF526F #BEEF52 #52EFD1
square
#8352EF #EF526F #BEEF52 #52EFD1
split-complementary
#8352EF #EFD152 #6FEF52
monochromatic
#4411B6 #5B1AEA #8352EF #AB8AF4 #D3C2F9

Accessibility & contrast

On white

4.75
#8352EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8352EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8352EF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8352EF#FFFFFF#000000##FFFFFF
##8352EF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#63789A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8352ef;
/* rgb */ color: rgb(131, 82, 239);
/* oklch */ color: oklch(57.9% 0.223 292.4);
Tailwind
colors: {
  custom: {
    50: '#af86f5',
    500: '#8352ef',
    950: '#000000',
  },
}
SCSS
$custom: #8352ef;
$custom-light: #af86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8352ef",
  "rgb": {
    "r": 131,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 258.726,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.22296,
    "h": 292.4
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#8352EF
secondary
#D9EBB2
accent
#DF069C
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8352EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8352EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva