#8A4FE6#8A4FE6

#8A4FE6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.217 H 297.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A4FE6
RGBrgb(138, 79, 230)
HSLhsl(263, 75%, 61%)
HSVhsv(263, 66%, 90%)
CMYKcmyk(40%, 65.7%, 0%, 9.8%)
CIE-LABlab(47.89, 55.54, -67.74)
CIE-LCHlch(47.89, 87.60, 309.35°)
OKLaboklab(57.5% 0.0983 -0.1933)
OKLCHoklch(57.5% 0.217 297)
XYZxyz(27.5564, 16.7079, 76.6207)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FE6 #ABE64F
analogous
#4F5FE6 #8A4FE6 #D64FE6
triadic
#8A4FE6 #E68A4F #4FE68A
tetradic
#8A4FE6 #E64F5F #ABE64F #4FE6D6
square
#8A4FE6 #E64F5F #ABE64F #4FE6D6
split-complementary
#8A4FE6 #E6D64F #5FE64F
monochromatic
#4E17A3 #681FD9 #8A4FE6 #AE85EE #D1BAF5

Accessibility & contrast

On white

4.84
#8A4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8A4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FE6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FE6#FFFFFF#000000##FFFFFF
##8A4FE61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#737294
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a4fe6;
/* rgb */ color: rgb(138, 79, 230);
/* oklch */ color: oklch(57.5% 0.217 297.0);
Tailwind
colors: {
  custom: {
    50: '#b384ef',
    500: '#8a4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fe6;
$custom-light: #b384ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fe6",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 263.444,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.575,
    "c": 0.21686,
    "h": 297
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#8A4FE6
secondary
#CFE5AC
accent
#D70E89
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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