#8F48E3#8F48E3

#8F48E3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.223 H 300.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F48E3
RGBrgb(143, 72, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 68%, 89%)
CMYKcmyk(37%, 68.3%, 0%, 11%)
CIE-LABlab(47.00, 59.17, -67.46)
CIE-LCHlch(47.00, 89.73, 311.26°)
OKLaboklab(56.92% 0.1126 -0.1923)
OKLCHoklch(56.92% 0.223 300.4)
XYZxyz(27.5068, 16.0202, 74.3012)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48E3 #9CE348
analogous
#484EE3 #8F48E3 #DD48E3
triadic
#8F48E3 #E38F48 #48E38F
tetradic
#8F48E3 #E3484E #9CE348 #48E3DD
square
#8F48E3 #E3484E #9CE348 #48E3DD
split-complementary
#8F48E3 #E3DD48 #4EE348
monochromatic
#531799 #7020CE #8F48E3 #AF7DEB #D0B2F3

Accessibility & contrast

On white

5.00
#8F48E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8F48E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48E3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48E3#FFFFFF#000000##FFFFFF
##8F48E31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#7C6D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f48e3;
/* rgb */ color: rgb(143, 72, 227);
/* oklch */ color: oklch(56.9% 0.223 300.4);
Tailwind
colors: {
  custom: {
    50: '#b680ed',
    500: '#8f48e3',
    950: '#000000',
  },
}
SCSS
$custom: #8f48e3;
$custom-light: #b680ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48e3",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 267.484,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.22281,
    "h": 300.4
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#8F48E3
secondary
#C6E2A5
accent
#F0389C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F48E3

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

Preview Lab → · Contrast checker → · Palette generator →

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