#8948D9#8948D9

#8948D9 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.211 H 300.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8948D9
RGBrgb(137, 72, 217)
HSLhsl(267, 66%, 57%)
HSVhsv(267, 67%, 85%)
CMYKcmyk(36.9%, 66.8%, 0%, 14.9%)
CIE-LABlab(45.58, 55.58, -64.10)
CIE-LCHlch(45.58, 84.84, 310.93°)
OKLaboklab(55.53% 0.1059 -0.1826)
OKLCHoklch(55.53% 0.211 300.1)
XYZxyz(25.1552, 14.9626, 67.1950)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948D9 #98D948
analogous
#4850D9 #8948D9 #D248D9
triadic
#8948D9 #D98948 #48D989
tetradic
#8948D9 #D94850 #98D948 #48D9D2
square
#8948D9 #D94850 #98D948 #48D9D2
split-complementary
#8948D9 #D9D248 #50D948
monochromatic
#4E1D8A #6A27BD #8948D9 #AA7BE4 #CAADEE

Accessibility & contrast

On white

5.26
#8948D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8948D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948D9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948D9#FFFFFF#000000##FFFFFF
##8948D91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#776A8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8948d9;
/* rgb */ color: rgb(137, 72, 217);
/* oklch */ color: oklch(55.5% 0.211 300.1);
Tailwind
colors: {
  custom: {
    50: '#b17fe6',
    500: '#8948d9',
    950: '#000000',
  },
}
SCSS
$custom: #8948d9;
$custom-light: #b17fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8948d9",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 266.897,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55526,
    "c": 0.21107,
    "h": 300.1
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#8948D9
secondary
#C1DCA1
accent
#E93F9D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8948D9

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

Preview Lab → · Contrast checker → · Palette generator →

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