#8F52EF#8F52EF

#8F52EF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.224 H 296.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F52EF
RGBrgb(143, 82, 239)
HSLhsl(263, 83%, 63%)
HSVhsv(263, 66%, 94%)
CMYKcmyk(40.2%, 65.7%, 0%, 6.3%)
CIE-LABlab(49.62, 57.27, -69.97)
CIE-LCHlch(49.62, 90.42, 309.30°)
OKLaboklab(59.07% 0.1009 -0.1997)
OKLCHoklch(59.07% 0.224 296.8)
XYZxyz(29.9209, 18.1057, 83.5629)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52EF #B2EF52
analogous
#5263EF #8F52EF #DD52EF
triadic
#8F52EF #EF8F52 #52EF8F
tetradic
#8F52EF #EF5263 #B2EF52 #52EFDD
square
#8F52EF #EF5263 #B2EF52 #52EFDD
split-complementary
#8F52EF #EFDD52 #63EF52
monochromatic
#5111B6 #6B1AEA #8F52EF #B38AF4 #D8C2F9

Accessibility & contrast

On white

4.54
#8F52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8F52EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F52EF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52EF#FFFFFF#000000##000000
##8F52EF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#77779A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f52ef;
/* rgb */ color: rgb(143, 82, 239);
/* oklch */ color: oklch(59.1% 0.224 296.8);
Tailwind
colors: {
  custom: {
    50: '#b686f5',
    500: '#8f52ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f52ef;
$custom-light: #b686f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52ef",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 263.312,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.2237,
    "h": 296.8
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#8F52EF
secondary
#D5EBB2
accent
#DF068B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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