#8F52FF#8F52FF

#8F52FF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.3% C 0.241 H 294.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F52FF
RGBrgb(143, 82, 255)
HSLhsl(261, 100%, 66%)
HSVhsv(261, 68%, 100%)
CMYKcmyk(43.9%, 67.8%, 0%, 0%)
CIE-LABlab(50.80, 61.33, -76.99)
CIE-LCHlch(50.80, 98.43, 308.54°)
OKLaboklab(60.28% 0.0986 -0.2203)
OKLCHoklch(60.28% 0.241 294.1)
XYZxyz(32.3901, 19.0933, 96.5672)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52FF #C2FF52
analogous
#526BFF #8F52FF #E552FF
triadic
#8F52FF #FF8F52 #52FF8F
tetradic
#8F52FF #FF526B #C2FF52 #52FFE5
square
#8F52FF #FF526B #C2FF52 #52FFE5
split-complementary
#8F52FF #FFE552 #6BFF52
monochromatic
#4C00D7 #6715FF #8F52FF #B78FFF #DECCFF

Accessibility & contrast

On white

4.36
#8F52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F52FF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52FF#FFFFFF#000000##000000
##8F52FF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#6F7DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f52ff;
/* rgb */ color: rgb(143, 82, 255);
/* oklch */ color: oklch(60.3% 0.241 294.1);
Tailwind
colors: {
  custom: {
    50: '#b887ff',
    500: '#8f52ff',
    950: '#000000',
  },
}
SCSS
$custom: #8f52ff;
$custom-light: #b887ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52ff",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 261.156,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.24138,
    "h": 294.1
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#8F52FF
secondary
#DFF3BA
accent
#E60095
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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