#8A48FF#8A48FF

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

Color values

HEX#8A48FF
RGBrgb(138, 72, 255)
HSLhsl(262, 100%, 64%)
HSVhsv(262, 72%, 100%)
CMYKcmyk(45.9%, 71.8%, 0%, 0%)
CIE-LABlab(48.58, 65.22, -80.63)
CIE-LCHlch(48.58, 103.70, 308.97°)
OKLaboklab(58.59% 0.1006 -0.2311)
OKLCHoklch(58.59% 0.252 293.5)
XYZxyz(30.8436, 17.2570, 96.2942)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48FF #BDFF48
analogous
#4862FF #8A48FF #E548FF
triadic
#8A48FF #FF8A48 #48FF8A
tetradic
#8A48FF #FF4862 #BDFF48 #48FFE5
square
#8A48FF #FF4862 #BDFF48 #48FFE5
split-complementary
#8A48FF #FFE548 #62FF48
monochromatic
#4A00CD #630BFF #8A48FF #B185FF #D8C2FF

Accessibility & contrast

On white

4.72
#8A48FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8A48FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48FF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48FF#FFFFFF#000000##FFFFFF
##8A48FF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#6778A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a48ff;
/* rgb */ color: rgb(138, 72, 255);
/* oklch */ color: oklch(58.6% 0.252 293.5);
Tailwind
colors: {
  custom: {
    50: '#b581ff',
    500: '#8a48ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a48ff;
$custom-light: #b581ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48ff",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 261.639,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.25208,
    "h": 293.5
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A48FF

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

Preview Lab → · Contrast checker → · Palette generator →

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