#8F48BB#8F48BB

#8F48BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.180 H 310.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F48BB
RGBrgb(143, 72, 187)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 61%, 73%)
CMYKcmyk(23.5%, 61.5%, 0%, 26.7%)
CIE-LABlab(44.32, 49.81, -48.77)
CIE-LCHlch(44.32, 69.71, 315.61°)
OKLaboklab(54.14% 0.1161 -0.1374)
OKLCHoklch(54.14% 0.18 310.2)
XYZxyz(22.6130, 14.0627, 48.5272)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48BB #74BB48
analogous
#5548BB #8F48BB #BB48AE
triadic
#8F48BB #BB8F48 #48BB8F
tetradic
#8F48BB #BB5548 #74BB48 #48AEBB
square
#8F48BB #BB5548 #74BB48 #48AEBB
split-complementary
#8F48BB #AEBB48 #48BB55
monochromatic
#4C2564 #6E3690 #8F48BB #AA75CC #C6A1DC

Accessibility & contrast

On white

5.51
#8F48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48BB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48BB#FFFFFF#000000##FFFFFF
##8F48BB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#895E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f48bb;
/* rgb */ color: rgb(143, 72, 187);
/* oklch */ color: oklch(54.1% 0.180 310.2);
Tailwind
colors: {
  custom: {
    50: '#b37fd0',
    500: '#8f48bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f48bb;
$custom-light: #b37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48bb",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 277.043,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.17982,
    "h": 310.2
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#8F48BB
secondary
#A9C996
accent
#D55285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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