#8248D5#8248D5

#8248D5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.206 H 298.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8248D5
RGBrgb(130, 72, 213)
HSLhsl(265, 63%, 56%)
HSVhsv(265, 66%, 84%)
CMYKcmyk(39%, 66.2%, 0%, 16.5%)
CIE-LABlab(44.50, 53.20, -63.61)
CIE-LCHlch(44.50, 82.92, 309.91°)
OKLaboklab(54.48% 0.0969 -0.1814)
OKLCHoklch(54.48% 0.206 298.1)
XYZxyz(23.5305, 14.1843, 64.4360)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248D5 #9BD548
analogous
#4854D5 #8248D5 #C948D5
triadic
#8248D5 #D58248 #48D582
tetradic
#8248D5 #D54854 #9BD548 #48D5C9
square
#8248D5 #D54854 #9BD548 #48D5C9
split-complementary
#8248D5 #D5C948 #54D548
monochromatic
#481E84 #632AB6 #8248D5 #A47AE0 #C6ACEC

Accessibility & contrast

On white

5.47
#8248D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8248D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248D5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248D5#FFFFFF#000000##FFFFFF
##8248D51.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)
#0069D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#6E6988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8248d5;
/* rgb */ color: rgb(130, 72, 213);
/* oklch */ color: oklch(54.5% 0.206 298.1);
Tailwind
colors: {
  custom: {
    50: '#ac7fe3',
    500: '#8248d5',
    950: '#000000',
  },
}
SCSS
$custom: #8248d5;
$custom-light: #ac7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8248d5",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 264.681,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.20564,
    "h": 298.1
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#8248D5
secondary
#C2DA9F
accent
#E642A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8248D5

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

Preview Lab → · Contrast checker → · Palette generator →

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