#8948C7#8948C7

#8948C7 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.191 H 304.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8948C7
RGBrgb(137, 72, 199)
HSLhsl(271, 53%, 53%)
HSVhsv(271, 64%, 78%)
CMYKcmyk(31.2%, 63.8%, 0%, 22%)
CIE-LABlab(44.34, 51.21, -55.75)
CIE-LCHlch(44.34, 75.70, 312.57°)
OKLaboklab(54.24% 0.1077 -0.158)
OKLCHoklch(54.24% 0.191 304.3)
XYZxyz(22.9404, 14.0767, 55.5303)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948C7 #86C748
analogous
#4948C7 #8948C7 #C748C5
triadic
#8948C7 #C78948 #48C789
tetradic
#8948C7 #C74948 #86C748 #48C5C7
square
#8948C7 #C74948 #86C748 #48C5C7
split-complementary
#8948C7 #C5C748 #48C749
monochromatic
#4B2372 #6A31A1 #8948C7 #A777D5 #C5A6E4

Accessibility & contrast

On white

5.50
#8948C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8948C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948C7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948C7#FFFFFF#000000##FFFFFF
##8948C71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2469C4
Tritanopia (blue-blind)
#7E6381
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8948c7;
/* rgb */ color: rgb(137, 72, 199);
/* oklch */ color: oklch(54.2% 0.191 304.3);
Tailwind
colors: {
  custom: {
    50: '#b07fd9',
    500: '#8948c7',
    950: '#000000',
  },
}
SCSS
$custom: #8948c7;
$custom-light: #b07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8948c7",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 270.709,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.19124,
    "h": 304.3
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#8948C7
secondary
#B5D19A
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948C7

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

Preview Lab → · Contrast checker → · Palette generator →

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