#8A4FE8#8A4FE8

#8A4FE8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.219 H 296.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A4FE8
RGBrgb(138, 79, 232)
HSLhsl(263, 77%, 61%)
HSVhsv(263, 66%, 91%)
CMYKcmyk(40.5%, 65.9%, 0%, 9%)
CIE-LABlab(48.03, 56.05, -68.63)
CIE-LCHlch(48.03, 88.61, 309.24°)
OKLaboklab(57.65% 0.0981 -0.1959)
OKLCHoklch(57.65% 0.219 296.6)
XYZxyz(27.8389, 16.8209, 78.1083)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FE8 #ADE84F
analogous
#4F60E8 #8A4FE8 #D64FE8
triadic
#8A4FE8 #E88A4F #4FE88A
tetradic
#8A4FE8 #E84F60 #ADE84F #4FE8D6
square
#8A4FE8 #E84F60 #ADE84F #4FE8D6
split-complementary
#8A4FE8 #E8D64F #60E84F
monochromatic
#4E16A7 #671DDD #8A4FE8 #AE85EF #D2BBF6

Accessibility & contrast

On white

4.81
#8A4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FE8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FE8#FFFFFF#000000##FFFFFF
##8A4FE81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#727395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a4fe8;
/* rgb */ color: rgb(138, 79, 232);
/* oklch */ color: oklch(57.6% 0.219 296.6);
Tailwind
colors: {
  custom: {
    50: '#b384f0',
    500: '#8a4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fe8;
$custom-light: #b384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fe8",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 263.137,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.21909,
    "h": 296.6
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#8A4FE8
secondary
#D0E6AD
accent
#D90C8A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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