#8948BD#8948BD

#8948BD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.180 H 306.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8948BD
RGBrgb(137, 72, 189)
HSLhsl(273, 47%, 51%)
HSVhsv(273, 62%, 74%)
CMYKcmyk(27.5%, 61.9%, 0%, 25.9%)
CIE-LABlab(43.69, 48.84, -50.98)
CIE-LCHlch(43.69, 70.60, 313.77°)
OKLaboklab(53.56% 0.1082 -0.144)
OKLCHoklch(53.56% 0.18 306.9)
XYZxyz(21.8173, 13.6275, 49.6153)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948BD #7CBD48
analogous
#4E48BD #8948BD #BD48B7
triadic
#8948BD #BD8948 #48BD89
tetradic
#8948BD #BD4E48 #7CBD48 #48B7BD
square
#8948BD #BD4E48 #7CBD48 #48B7BD
split-complementary
#8948BD #B7BD48 #48BD4E
monochromatic
#492566 #693593 #8948BD #A675CD #C3A2DD

Accessibility & contrast

On white

5.64
#8948BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8948BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948BD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948BD#FFFFFF#000000##FFFFFF
##8948BD1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#81607C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8948bd;
/* rgb */ color: rgb(137, 72, 189);
/* oklch */ color: oklch(53.6% 0.180 306.9);
Tailwind
colors: {
  custom: {
    50: '#af7ed1',
    500: '#8948bd',
    950: '#000000',
  },
}
SCSS
$custom: #8948bd;
$custom-light: #af7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8948bd",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 273.333,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.18015,
    "h": 306.9
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#8948BD
secondary
#AECA97
accent
#D7518C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8948BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8948BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva