#8948E8#8948E8

#8948E8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.227 H 297.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8948E8
RGBrgb(137, 72, 232)
HSLhsl(264, 78%, 60%)
HSVhsv(264, 69%, 91%)
CMYKcmyk(40.9%, 69%, 0%, 9%)
CIE-LABlab(46.68, 59.29, -70.83)
CIE-LCHlch(46.68, 92.37, 309.93°)
OKLaboklab(56.66% 0.1037 -0.2024)
OKLCHoklch(56.66% 0.227 297.1)
XYZxyz(27.1956, 15.7788, 77.9411)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948E8 #A7E848
analogous
#4857E8 #8948E8 #D948E8
triadic
#8948E8 #E88948 #48E889
tetradic
#8948E8 #E84857 #A7E848 #48E8D9
square
#8948E8 #E84857 #A7E848 #48E8D9
split-complementary
#8948E8 #E8D948 #57E848
monochromatic
#4E14A1 #681BD8 #8948E8 #AC7EEF #CFB5F6

Accessibility & contrast

On white

5.05
#8948E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8948E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948E8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948E8#FFFFFF#000000##FFFFFF
##8948E81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#716F93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8948e8;
/* rgb */ color: rgb(137, 72, 232);
/* oklch */ color: oklch(56.7% 0.227 297.1);
Tailwind
colors: {
  custom: {
    50: '#b280f0',
    500: '#8948e8',
    950: '#000000',
  },
}
SCSS
$custom: #8948e8;
$custom-light: #b280f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8948e8",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 264.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.2274,
    "h": 297.1
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#8948E8
secondary
#CCE5A7
accent
#F434A6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8948E8

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

Preview Lab → · Contrast checker → · Palette generator →

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