#8A48CF#8A48CF

#8A48CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.200 H 302.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A48CF
RGBrgb(138, 72, 207)
HSLhsl(269, 58%, 55%)
HSVhsv(269, 65%, 81%)
CMYKcmyk(33.3%, 65.2%, 0%, 18.8%)
CIE-LABlab(45.00, 53.35, -59.30)
CIE-LCHlch(45.00, 79.77, 311.97°)
OKLaboklab(54.91% 0.1083 -0.1684)
OKLCHoklch(54.91% 0.2 302.7)
XYZxyz(24.0585, 14.5430, 60.5590)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48CF #8DCF48
analogous
#484ACF #8A48CF #CD48CF
triadic
#8A48CF #CF8A48 #48CF8A
tetradic
#8A48CF #CF484A #8DCF48 #48CFCD
square
#8A48CF #CF484A #8DCF48 #48CFCD
split-complementary
#8A48CF #CFCD48 #4ACF48
monochromatic
#4D217C #6B2DAD #8A48CF #A978DC #C8A9E8

Accessibility & contrast

On white

5.37
#8A48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8A48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48CF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48CF#FFFFFF#000000##FFFFFF
##8A48CF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#146ACC
Tritanopia (blue-blind)
#7C6685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a48cf;
/* rgb */ color: rgb(138, 72, 207);
/* oklch */ color: oklch(54.9% 0.200 302.7);
Tailwind
colors: {
  custom: {
    50: '#b17fde',
    500: '#8a48cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a48cf;
$custom-light: #b17fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48cf",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 269.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.20028,
    "h": 302.7
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#8A48CF
secondary
#BAD69D
accent
#E24696
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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