#8D52F5#8D52F5

#8D52F5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.230 H 295.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D52F5
RGBrgb(141, 82, 245)
HSLhsl(262, 89%, 64%)
HSVhsv(262, 67%, 96%)
CMYKcmyk(42.4%, 66.5%, 0%, 3.9%)
CIE-LABlab(49.84, 58.42, -72.98)
CIE-LCHlch(49.84, 93.48, 308.68°)
OKLaboklab(59.32% 0.0974 -0.2086)
OKLCHoklch(59.32% 0.23 295)
XYZxyz(30.4788, 18.2891, 88.2928)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52F5 #BAF552
analogous
#5269F5 #8D52F5 #DF52F5
triadic
#8D52F5 #F58D52 #52F58D
tetradic
#8D52F5 #F55269 #BAF552 #52F5DF
square
#8D52F5 #F55269 #BAF552 #52F5DF
split-complementary
#8D52F5 #F5DF52 #69F552
monochromatic
#4D0BC1 #6718F2 #8D52F5 #B38CF8 #D9C6FC

Accessibility & contrast

On white

4.51
#8D52F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D52F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D52F5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52F5#FFFFFF#000000##000000
##8D52F51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#71799D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d52f5;
/* rgb */ color: rgb(141, 82, 245);
/* oklch */ color: oklch(59.3% 0.230 295.0);
Tailwind
colors: {
  custom: {
    50: '#b686f9',
    500: '#8d52f5',
    950: '#000000',
  },
}
SCSS
$custom: #8d52f5;
$custom-light: #b686f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52f5",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 261.718,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.23021,
    "h": 295
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#8D52F5
secondary
#D9EEB5
accent
#E60092
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D52F5

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

Preview Lab → · Contrast checker → · Palette generator →

#8D52F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva