#8A48C8#8A48C8

#8A48C8 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.193 H 304.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A48C8
RGBrgb(138, 72, 200)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 64%, 78%)
CMYKcmyk(31%, 64%, 0%, 21.6%)
CIE-LABlab(44.53, 51.67, -56.02)
CIE-LCHlch(44.53, 76.21, 312.69°)
OKLaboklab(54.42% 0.1089 -0.1588)
OKLCHoklch(54.42% 0.193 304.4)
XYZxyz(23.2216, 14.2082, 56.1515)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48C8 #86C848
analogous
#4A48C8 #8A48C8 #C848C6
triadic
#8A48C8 #C88A48 #48C88A
tetradic
#8A48C8 #C84A48 #86C848 #48C6C8
square
#8A48C8 #C84A48 #86C848 #48C6C8
split-complementary
#8A48C8 #C6C848 #48C84A
monochromatic
#4C2373 #6B31A2 #8A48C8 #A877D6 #C6A6E4

Accessibility & contrast

On white

5.47
#8A48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48C8#FFFFFF#000000##FFFFFF
##8A48C81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2469C5
Tritanopia (blue-blind)
#7F6382
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a48c8;
/* rgb */ color: rgb(138, 72, 200);
/* oklch */ color: oklch(54.4% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#b07fd9',
    500: '#8a48c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a48c8;
$custom-light: #b07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48c8",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 270.938,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.19257,
    "h": 304.4
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#8A48C8
secondary
#B5D19A
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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