#8A4FE9#8A4FE9

#8A4FE9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.220 H 296.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A4FE9
RGBrgb(138, 79, 233)
HSLhsl(263, 78%, 61%)
HSVhsv(263, 66%, 91%)
CMYKcmyk(40.8%, 66.1%, 0%, 8.6%)
CIE-LABlab(48.11, 56.30, -69.08)
CIE-LCHlch(48.11, 89.12, 309.18°)
OKLaboklab(57.72% 0.098 -0.1972)
OKLCHoklch(57.72% 0.22 296.4)
XYZxyz(27.9813, 16.8779, 78.8585)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FE9 #AEE94F
analogous
#4F61E9 #8A4FE9 #D74FE9
triadic
#8A4FE9 #E98A4F #4FE98A
tetradic
#8A4FE9 #E94F61 #AEE94F #4FE9D7
square
#8A4FE9 #E94F61 #AEE94F #4FE9D7
split-complementary
#8A4FE9 #E9D74F #61E94F
monochromatic
#4E15A9 #671CDF #8A4FE9 #AE85F0 #D2BCF7

Accessibility & contrast

On white

4.80
#8A4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FE9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FE9#FFFFFF#000000##FFFFFF
##8A4FE91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#727496
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a4fe9;
/* rgb */ color: rgb(138, 79, 233);
/* oklch */ color: oklch(57.7% 0.220 296.4);
Tailwind
colors: {
  custom: {
    50: '#b384f1',
    500: '#8a4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fe9;
$custom-light: #b384f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fe9",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 262.987,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57723,
    "c": 0.22022,
    "h": 296.4
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#8A4FE9
secondary
#D1E7AD
accent
#DA0B8B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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