#8A47FC#8A47FC

#8A47FC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.2% C 0.250 H 294.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A47FC
RGBrgb(138, 71, 252)
HSLhsl(262, 97%, 63%)
HSVhsv(262, 72%, 99%)
CMYKcmyk(45.2%, 71.8%, 0%, 1.2%)
CIE-LABlab(48.18, 64.92, -79.61)
CIE-LCHlch(48.18, 102.73, 309.20°)
OKLaboklab(58.23% 0.1021 -0.2281)
OKLCHoklch(58.23% 0.25 294.1)
XYZxyz(30.3004, 16.9371, 93.7493)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47FC #B9FC47
analogous
#475EFC #8A47FC #E447FC
triadic
#8A47FC #FC8A47 #47FC8A
tetradic
#8A47FC #FC475E #B9FC47 #47FCE4
square
#8A47FC #FC475E #B9FC47 #47FCE4
split-complementary
#8A47FC #FCE447 #5EFC47
monochromatic
#4B03C5 #640BFB #8A47FC #B083FD #D7BFFE

Accessibility & contrast

On white

4.79
#8A47FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8A47FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47FC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47FC#FFFFFF#000000##FFFFFF
##8A47FC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a47fc;
/* rgb */ color: rgb(138, 71, 252);
/* oklch */ color: oklch(58.2% 0.250 294.1);
Tailwind
colors: {
  custom: {
    50: '#b580ff',
    500: '#8a47fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a47fc;
$custom-light: #b580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47fc",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 252
  },
  "hsl": {
    "h": 262.21,
    "s": 96.791,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.24994,
    "h": 294.1
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

primary
#8A47FC
secondary
#D8F0AF
accent
#E60091
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A47FC

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

Preview Lab → · Contrast checker → · Palette generator →

#8A47FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva