#8948BB#8948BB

#8948BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.178 H 307.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8948BB
RGBrgb(137, 72, 187)
HSLhsl(274, 46%, 51%)
HSVhsv(274, 61%, 73%)
CMYKcmyk(26.7%, 61.5%, 0%, 26.7%)
CIE-LABlab(43.57, 48.37, -50.02)
CIE-LCHlch(43.57, 69.58, 314.04°)
OKLaboklab(53.43% 0.1083 -0.1412)
OKLCHoklch(53.43% 0.178 307.5)
XYZxyz(21.6017, 13.5412, 48.4798)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948BB #7ABB48
analogous
#4F48BB #8948BB #BB48B3
triadic
#8948BB #BB8948 #48BB89
tetradic
#8948BB #BB4F48 #7ABB48 #48B3BB
square
#8948BB #BB4F48 #7ABB48 #48B3BB
split-complementary
#8948BB #B3BB48 #48BB4F
monochromatic
#482564 #693690 #8948BB #A675CC #C3A1DC

Accessibility & contrast

On white

5.66
#8948BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8948BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948BB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948BB#FFFFFF#000000##FFFFFF
##8948BB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8948bb;
/* rgb */ color: rgb(137, 72, 187);
/* oklch */ color: oklch(53.4% 0.178 307.5);
Tailwind
colors: {
  custom: {
    50: '#af7ed0',
    500: '#8948bb',
    950: '#000000',
  },
}
SCSS
$custom: #8948bb;
$custom-light: #af7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8948bb",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 273.913,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.17793,
    "h": 307.5
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#8948BB
secondary
#ACC996
accent
#D5528B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8948BB

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

Preview Lab → · Contrast checker → · Palette generator →

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