#8A49FF#8A49FF

#8A49FF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.251 H 293.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A49FF
RGBrgb(138, 73, 255)
HSLhsl(261, 100%, 64%)
HSVhsv(261, 71%, 100%)
CMYKcmyk(45.9%, 71.4%, 0%, 0%)
CIE-LABlab(48.74, 64.76, -80.36)
CIE-LCHlch(48.74, 103.21, 308.87°)
OKLaboklab(58.7% 0.0998 -0.2303)
OKLCHoklch(58.7% 0.251 293.4)
XYZxyz(30.9088, 17.3874, 96.3159)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49FF #BEFF49
analogous
#4963FF #8A49FF #E549FF
triadic
#8A49FF #FF8A49 #49FF8A
tetradic
#8A49FF #FF4963 #BEFF49 #49FFE5
square
#8A49FF #FF4963 #BEFF49 #49FFE5
split-complementary
#8A49FF #FFE549 #63FF49
monochromatic
#4900CE #630CFF #8A49FF #B186FF #D9C3FF

Accessibility & contrast

On white

4.69
#8A49FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8A49FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49FF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49FF#FFFFFF#000000##FFFFFF
##8A49FF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#6779A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a49ff;
/* rgb */ color: rgb(138, 73, 255);
/* oklch */ color: oklch(58.7% 0.251 293.4);
Tailwind
colors: {
  custom: {
    50: '#b581ff',
    500: '#8a49ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a49ff;
$custom-light: #b581ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49ff",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 255
  },
  "hsl": {
    "h": 261.429,
    "s": 100,
    "l": 64.314
  },
  "oklch": {
    "l": 0.587,
    "c": 0.25103,
    "h": 293.4
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#8A49FF
secondary
#DBF1B2
accent
#E60094
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A49FF

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

Preview Lab → · Contrast checker → · Palette generator →

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