#8248BD#8248BD

#8248BD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.178 H 303.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8248BD
RGBrgb(130, 72, 189)
HSLhsl(270, 47%, 51%)
HSVhsv(270, 62%, 74%)
CMYKcmyk(31.2%, 61.9%, 0%, 25.9%)
CIE-LABlab(42.85, 47.21, -52.39)
CIE-LCHlch(42.85, 70.53, 312.02°)
OKLaboklab(52.76% 0.0989 -0.1484)
OKLCHoklch(52.76% 0.178 303.7)
XYZxyz(20.7065, 13.0547, 49.5632)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248BD #83BD48
analogous
#4848BD #8248BD #BD48BD
triadic
#8248BD #BD8248 #48BD82
tetradic
#8248BD #BD4848 #83BD48 #48BDBD
square
#8248BD #BD4848 #83BD48 #48BDBD
split-complementary
#8248BD #BDBD48 #48BD48
monochromatic
#452566 #633593 #8248BD #A175CD #BFA2DD

Accessibility & contrast

On white

5.82
#8248BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8248BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248BD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248BD#FFFFFF#000000##FFFFFF
##8248BD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#77607C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8248bd;
/* rgb */ color: rgb(130, 72, 189);
/* oklch */ color: oklch(52.8% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ed2',
    500: '#8248bd',
    950: '#000000',
  },
}
SCSS
$custom: #8248bd;
$custom-light: #aa7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8248bd",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 269.744,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.17837,
    "h": 303.7
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#8248BD
secondary
#B1CA97
accent
#D75194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8248BD

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

Preview Lab → · Contrast checker → · Palette generator →

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