#8948E2#8948E2

#8948E2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.221 H 298.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8948E2
RGBrgb(137, 72, 226)
HSLhsl(265, 73%, 58%)
HSVhsv(265, 68%, 89%)
CMYKcmyk(39.4%, 68.1%, 0%, 11.4%)
CIE-LABlab(46.24, 57.80, -68.16)
CIE-LCHlch(46.24, 89.37, 310.30°)
OKLaboklab(56.2% 0.1046 -0.1945)
OKLCHoklch(56.2% 0.221 298.3)
XYZxyz(26.3579, 15.4437, 73.5290)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948E2 #A1E248
analogous
#4854E2 #8948E2 #D648E2
triadic
#8948E2 #E28948 #48E289
tetradic
#8948E2 #E24854 #A1E248 #48E2D6
square
#8948E2 #E24854 #A1E248 #48E2D6
split-complementary
#8948E2 #E2D648 #54E248
monochromatic
#4E1898 #6920CC #8948E2 #AB7DEA #CDB2F3

Accessibility & contrast

On white

5.14
#8948E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8948E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948E2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948E2#FFFFFF#000000##FFFFFF
##8948E21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#746D90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8948e2;
/* rgb */ color: rgb(137, 72, 226);
/* oklch */ color: oklch(56.2% 0.221 298.3);
Tailwind
colors: {
  custom: {
    50: '#b280ec',
    500: '#8948e2',
    950: '#000000',
  },
}
SCSS
$custom: #8948e2;
$custom-light: #b280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8948e2",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 265.325,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.22089,
    "h": 298.3
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#8948E2
secondary
#C8E1A4
accent
#EF38A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8948E2

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

Preview Lab → · Contrast checker → · Palette generator →

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