#8948FF#8948FF

#8948FF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.252 H 293.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8948FF
RGBrgb(137, 72, 255)
HSLhsl(261, 100%, 64%)
HSVhsv(261, 72%, 100%)
CMYKcmyk(46.3%, 71.8%, 0%, 0%)
CIE-LABlab(48.48, 65.07, -80.80)
CIE-LCHlch(48.48, 103.74, 308.84°)
OKLaboklab(58.49% 0.0993 -0.2317)
OKLCHoklch(58.49% 0.252 293.2)
XYZxyz(30.6789, 17.1721, 96.2865)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948FF #BEFF48
analogous
#4863FF #8948FF #E448FF
triadic
#8948FF #FF8948 #48FF89
tetradic
#8948FF #FF4863 #BEFF48 #48FFE4
square
#8948FF #FF4863 #BEFF48 #48FFE4
split-complementary
#8948FF #FFE448 #63FF48
monochromatic
#4900CD #620BFF #8948FF #B085FF #D8C2FF

Accessibility & contrast

On white

4.74
#8948FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8948FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948FF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948FF#FFFFFF#000000##FFFFFF
##8948FF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#6578A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8948ff;
/* rgb */ color: rgb(137, 72, 255);
/* oklch */ color: oklch(58.5% 0.252 293.2);
Tailwind
colors: {
  custom: {
    50: '#b581ff',
    500: '#8948ff',
    950: '#000000',
  },
}
SCSS
$custom: #8948ff;
$custom-light: #b581ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8948ff",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 261.311,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58486,
    "c": 0.25204,
    "h": 293.2
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#8948FF
secondary
#DBF1B1
accent
#E60094
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8948FF

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

Preview Lab → · Contrast checker → · Palette generator →

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