#8948BF#8948BF

#8948BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.182 H 306.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8948BF
RGBrgb(137, 72, 191)
HSLhsl(273, 48%, 52%)
HSVhsv(273, 62%, 75%)
CMYKcmyk(28.3%, 62.3%, 0%, 25.1%)
CIE-LABlab(43.82, 49.31, -51.94)
CIE-LCHlch(43.82, 71.62, 313.51°)
OKLaboklab(53.7% 0.1081 -0.1469)
OKLCHoklch(53.7% 0.182 306.4)
XYZxyz(22.0359, 13.7149, 50.7665)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948BF #7EBF48
analogous
#4E48BF #8948BF #BF48BA
triadic
#8948BF #BF8948 #48BF89
tetradic
#8948BF #BF4E48 #7EBF48 #48BABF
square
#8948BF #BF4E48 #7EBF48 #48BABF
split-complementary
#8948BF #BABF48 #48BF4E
monochromatic
#492468 #693496 #8948BF #A675CF #C3A3DF

Accessibility & contrast

On white

5.61
#8948BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8948BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948BF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948BF#FFFFFF#000000##FFFFFF
##8948BF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#80607D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8948bf;
/* rgb */ color: rgb(137, 72, 191);
/* oklch */ color: oklch(53.7% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#af7fd3',
    500: '#8948bf',
    950: '#000000',
  },
}
SCSS
$custom: #8948bf;
$custom-light: #af7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8948bf",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 272.773,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.18238,
    "h": 306.4
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#8948BF
secondary
#AFCC97
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8948BF

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

Preview Lab → · Contrast checker → · Palette generator →

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