#8948FC#8948FC

#8948FC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.249 H 293.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8948FC
RGBrgb(137, 72, 252)
HSLhsl(262, 97%, 64%)
HSVhsv(262, 71%, 99%)
CMYKcmyk(45.6%, 71.4%, 0%, 1.2%)
CIE-LABlab(48.24, 64.31, -79.53)
CIE-LCHlch(48.24, 102.28, 308.96°)
OKLaboklab(58.24% 0.0999 -0.2279)
OKLCHoklch(58.24% 0.249 293.7)
XYZxyz(30.1998, 16.9805, 93.7630)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948FC #BBFC48
analogous
#4861FC #8948FC #E348FC
triadic
#8948FC #FC8948 #48FC89
tetradic
#8948FC #FC4861 #BBFC48 #48FCE3
square
#8948FC #FC4861 #BBFC48 #48FCE3
split-complementary
#8948FC #FCE348 #61FC48
monochromatic
#4A03C6 #620CFB #8948FC #B084FD #D7C0FE

Accessibility & contrast

On white

4.78
#8948FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8948FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948FC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948FC#FFFFFF#000000##FFFFFF
##8948FC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006FF8
Tritanopia (blue-blind)
#67779E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8948fc;
/* rgb */ color: rgb(137, 72, 252);
/* oklch */ color: oklch(58.2% 0.249 293.7);
Tailwind
colors: {
  custom: {
    50: '#b580ff',
    500: '#8948fc',
    950: '#000000',
  },
}
SCSS
$custom: #8948fc;
$custom-light: #b580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8948fc",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 252
  },
  "hsl": {
    "h": 261.667,
    "s": 96.774,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.24885,
    "h": 293.7
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#8948FC
secondary
#D9F0B0
accent
#E60093
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8948FC

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

Preview Lab → · Contrast checker → · Palette generator →

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