#8948BC#8948BC

#8948BC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.179 H 307.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8948BC
RGBrgb(137, 72, 188)
HSLhsl(274, 46%, 51%)
HSVhsv(274, 62%, 74%)
CMYKcmyk(27.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(43.63, 48.61, -50.50)
CIE-LCHlch(43.63, 70.09, 313.91°)
OKLaboklab(53.5% 0.1082 -0.1426)
OKLCHoklch(53.5% 0.179 307.2)
XYZxyz(21.7091, 13.5842, 49.0456)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948BC #7BBC48
analogous
#4F48BC #8948BC #BC48B5
triadic
#8948BC #BC8948 #48BC89
tetradic
#8948BC #BC4F48 #7BBC48 #48B5BC
square
#8948BC #BC4F48 #7BBC48 #48B5BC
split-complementary
#8948BC #B5BC48 #48BC4F
monochromatic
#492565 #693592 #8948BC #A675CC #C3A2DD

Accessibility & contrast

On white

5.65
#8948BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8948BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948BC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948BC#FFFFFF#000000##FFFFFF
##8948BC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B65C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8948bc;
/* rgb */ color: rgb(137, 72, 188);
/* oklch */ color: oklch(53.5% 0.179 307.2);
Tailwind
colors: {
  custom: {
    50: '#af7ed1',
    500: '#8948bc',
    950: '#000000',
  },
}
SCSS
$custom: #8948bc;
$custom-light: #af7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8948bc",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 273.621,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.17904,
    "h": 307.2
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#8948BC
secondary
#ADCA96
accent
#D6528C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8948BC

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

Preview Lab → · Contrast checker → · Palette generator →

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