#8F48E4#8F48E4

#8F48E4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.224 H 300.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F48E4
RGBrgb(143, 72, 228)
HSLhsl(267, 74%, 59%)
HSVhsv(267, 68%, 89%)
CMYKcmyk(37.3%, 68.4%, 0%, 10.6%)
CIE-LABlab(47.07, 59.41, -67.91)
CIE-LCHlch(47.07, 90.23, 311.18°)
OKLaboklab(57% 0.1125 -0.1936)
OKLCHoklch(57% 0.224 300.2)
XYZxyz(27.6452, 16.0756, 75.0302)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48E4 #9DE448
analogous
#484FE4 #8F48E4 #DD48E4
triadic
#8F48E4 #E48F48 #48E48F
tetradic
#8F48E4 #E4484F #9DE448 #48E4DD
square
#8F48E4 #E4484F #9DE448 #48E4DD
split-complementary
#8F48E4 #E4DD48 #4FE448
monochromatic
#53179B #6F1FD0 #8F48E4 #B07DEC #D0B3F4

Accessibility & contrast

On white

4.98
#8F48E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8F48E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48E4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48E4#FFFFFF#000000##FFFFFF
##8F48E41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#7C6D91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f48e4;
/* rgb */ color: rgb(143, 72, 228);
/* oklch */ color: oklch(57.0% 0.224 300.2);
Tailwind
colors: {
  custom: {
    50: '#b680ed',
    500: '#8f48e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f48e4;
$custom-light: #b680ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48e4",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 267.308,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.22388,
    "h": 300.2
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#8F48E4
secondary
#C7E3A5
accent
#F1379C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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