#8948D7#8948D7

#8948D7 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.209 H 300.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8948D7
RGBrgb(137, 72, 215)
HSLhsl(267, 64%, 56%)
HSVhsv(267, 67%, 84%)
CMYKcmyk(36.3%, 66.5%, 0%, 15.7%)
CIE-LABlab(45.44, 55.09, -63.19)
CIE-LCHlch(45.44, 83.83, 311.08°)
OKLaboklab(55.38% 0.1061 -0.1799)
OKLCHoklch(55.38% 0.209 300.5)
XYZxyz(24.8966, 14.8592, 65.8333)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948D7 #96D748
analogous
#484FD7 #8948D7 #D148D7
triadic
#8948D7 #D78948 #48D789
tetradic
#8948D7 #D7484F #96D748 #48D7D1
square
#8948D7 #D7484F #96D748 #48D7D1
split-complementary
#8948D7 #D7D148 #4FD748
monochromatic
#4E1E87 #6A29B9 #8948D7 #A97AE2 #CAACED

Accessibility & contrast

On white

5.29
#8948D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8948D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948D7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948D7#FFFFFF#000000##FFFFFF
##8948D71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#78698A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8948d7;
/* rgb */ color: rgb(137, 72, 215);
/* oklch */ color: oklch(55.4% 0.209 300.5);
Tailwind
colors: {
  custom: {
    50: '#b17fe4',
    500: '#8948d7',
    950: '#000000',
  },
}
SCSS
$custom: #8948d7;
$custom-light: #b17fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8948d7",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 267.273,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.20887,
    "h": 300.5
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#8948D7
secondary
#C0DBA0
accent
#E7419B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8948D7

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

Preview Lab → · Contrast checker → · Palette generator →

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