#8947FC#8947FC

#8947FC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.250 H 293.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8947FC
RGBrgb(137, 71, 252)
HSLhsl(262, 97%, 63%)
HSVhsv(262, 72%, 99%)
CMYKcmyk(45.6%, 71.8%, 0%, 1.2%)
CIE-LABlab(48.07, 64.77, -79.79)
CIE-LCHlch(48.07, 102.77, 309.07°)
OKLaboklab(58.13% 0.1007 -0.2287)
OKLCHoklch(58.13% 0.25 293.8)
XYZxyz(30.1356, 16.8522, 93.7416)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947FC #BAFC47
analogous
#4760FC #8947FC #E347FC
triadic
#8947FC #FC8947 #47FC89
tetradic
#8947FC #FC4760 #BAFC47 #47FCE3
square
#8947FC #FC4760 #BAFC47 #47FCE3
split-complementary
#8947FC #FCE347 #60FC47
monochromatic
#4A03C5 #620BFB #8947FC #B083FD #D6BFFE

Accessibility & contrast

On white

4.80
#8947FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8947FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947FC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947FC#FFFFFF#000000##FFFFFF
##8947FC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8947fc;
/* rgb */ color: rgb(137, 71, 252);
/* oklch */ color: oklch(58.1% 0.250 293.8);
Tailwind
colors: {
  custom: {
    50: '#b580ff',
    500: '#8947fc',
    950: '#000000',
  },
}
SCSS
$custom: #8947fc;
$custom-light: #b580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8947fc",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 252
  },
  "hsl": {
    "h": 261.878,
    "s": 96.791,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.2499,
    "h": 293.8
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#8947FC
secondary
#D8F0AF
accent
#E60092
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8947FC

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

Preview Lab → · Contrast checker → · Palette generator →

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