#8A49FE#8A49FE

#8A49FE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.250 H 293.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A49FE
RGBrgb(138, 73, 254)
HSLhsl(262, 99%, 64%)
HSVhsv(262, 71%, 100%)
CMYKcmyk(45.7%, 71.3%, 0%, 0.4%)
CIE-LABlab(48.66, 64.51, -79.93)
CIE-LCHlch(48.66, 102.72, 308.91°)
OKLaboklab(58.62% 0.1 -0.2291)
OKLCHoklch(58.62% 0.25 293.6)
XYZxyz(30.7482, 17.3232, 95.4703)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49FE #BDFE49
analogous
#4963FE #8A49FE #E549FE
triadic
#8A49FE #FE8A49 #49FE8A
tetradic
#8A49FE #FE4963 #BDFE49 #49FEE5
square
#8A49FE #FE4963 #BDFE49 #49FEE5
split-complementary
#8A49FE #FEE549 #63FE49
monochromatic
#4A01CB #630CFE #8A49FE #B186FE #D8C3FF

Accessibility & contrast

On white

4.70
#8A49FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8A49FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49FE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49FE#FFFFFF#000000##FFFFFF
##8A49FE1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#67789F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a49fe;
/* rgb */ color: rgb(138, 73, 254);
/* oklch */ color: oklch(58.6% 0.250 293.6);
Tailwind
colors: {
  custom: {
    50: '#b581ff',
    500: '#8a49fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a49fe;
$custom-light: #b581ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49fe",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 254
  },
  "hsl": {
    "h": 261.547,
    "s": 98.907,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.24997,
    "h": 293.6
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#8A49FE
secondary
#DAF1B2
accent
#E60093
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A49FE

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

Preview Lab → · Contrast checker → · Palette generator →

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