#8A48D3#8A48D3

#8A48D3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.205 H 301.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A48D3
RGBrgb(138, 72, 211)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 66%, 83%)
CMYKcmyk(34.6%, 65.9%, 0%, 17.3%)
CIE-LABlab(45.28, 54.31, -61.15)
CIE-LCHlch(45.28, 81.79, 311.61°)
OKLaboklab(55.2% 0.1079 -0.1739)
OKLCHoklch(55.2% 0.205 301.8)
XYZxyz(24.5537, 14.7411, 63.1671)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48D3 #91D348
analogous
#484CD3 #8A48D3 #CF48D3
triadic
#8A48D3 #D38A48 #48D38A
tetradic
#8A48D3 #D3484C #91D348 #48D3CF
square
#8A48D3 #D3484C #91D348 #48D3CF
split-complementary
#8A48D3 #D3CF48 #4CD348
monochromatic
#4E1F81 #6B2BB3 #8A48D3 #AA79DF #C9ABEB

Accessibility & contrast

On white

5.32
#8A48D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A48D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48D3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48D3#FFFFFF#000000##FFFFFF
##8A48D31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#026BD0
Tritanopia (blue-blind)
#7B6787
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a48d3;
/* rgb */ color: rgb(138, 72, 211);
/* oklch */ color: oklch(55.2% 0.205 301.8);
Tailwind
colors: {
  custom: {
    50: '#b17fe1',
    500: '#8a48d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a48d3;
$custom-light: #b17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48d3",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 268.489,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.20466,
    "h": 301.8
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#8A48D3
secondary
#BDD89E
accent
#E44398
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A48D3

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

Preview Lab → · Contrast checker → · Palette generator →

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