#8248B8#8248B8

#8248B8 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.173 H 305.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8248B8
RGBrgb(130, 72, 184)
HSLhsl(271, 44%, 50%)
HSVhsv(271, 61%, 72%)
CMYKcmyk(29.3%, 60.9%, 0%, 27.8%)
CIE-LABlab(42.52, 46.00, -49.98)
CIE-LCHlch(42.52, 67.93, 312.62°)
OKLaboklab(52.42% 0.0991 -0.1413)
OKLCHoklch(52.42% 0.173 305)
XYZxyz(20.1731, 12.8414, 46.7540)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248B8 #7EB848
analogous
#4A48B8 #8248B8 #B848B6
triadic
#8248B8 #B88248 #48B882
tetradic
#8248B8 #B84A48 #7EB848 #48B6B8
square
#8248B8 #B84A48 #7EB848 #48B6B8
split-complementary
#8248B8 #B6B848 #48B84A
monochromatic
#442560 #63368C #8248B8 #A074C9 #BEA0DA

Accessibility & contrast

On white

5.89
#8248B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8248B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248B8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248B8#FFFFFF#000000##FFFFFF
##8248B81.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D63BC
Deuteranopia (green-blind)
#2F65B5
Tritanopia (blue-blind)
#795F79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8248b8;
/* rgb */ color: rgb(130, 72, 184);
/* oklch */ color: oklch(52.4% 0.173 305.0);
Tailwind
colors: {
  custom: {
    50: '#aa7ece',
    500: '#8248b8',
    950: '#000000',
  },
}
SCSS
$custom: #8248b8;
$custom-light: #aa7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#8248b8",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 271.071,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.17263,
    "h": 305
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#8248B8
secondary
#ADC795
accent
#D45492
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8248B8

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

Preview Lab → · Contrast checker → · Palette generator →

#8248B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva