#8248D4#8248D4

#8248D4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.205 H 298.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8248D4
RGBrgb(130, 72, 212)
HSLhsl(265, 62%, 56%)
HSVhsv(265, 66%, 83%)
CMYKcmyk(38.7%, 66%, 0%, 16.9%)
CIE-LABlab(44.42, 52.94, -63.15)
CIE-LCHlch(44.42, 82.41, 309.97°)
OKLaboklab(54.4% 0.097 -0.18)
OKLCHoklch(54.4% 0.205 298.3)
XYZxyz(23.4039, 14.1337, 63.7696)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248D4 #9AD448
analogous
#4854D4 #8248D4 #C848D4
triadic
#8248D4 #D48248 #48D482
tetradic
#8248D4 #D44854 #9AD448 #48D4C8
square
#8248D4 #D44854 #9AD448 #48D4C8
split-complementary
#8248D4 #D4C848 #54D448
monochromatic
#481F83 #642AB4 #8248D4 #A47AE0 #C6ABEB

Accessibility & contrast

On white

5.49
#8248D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8248D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248D4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248D4#FFFFFF#000000##FFFFFF
##8248D41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#6F6988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8248d4;
/* rgb */ color: rgb(130, 72, 212);
/* oklch */ color: oklch(54.4% 0.205 298.3);
Tailwind
colors: {
  custom: {
    50: '#ac7fe2',
    500: '#8248d4',
    950: '#000000',
  },
}
SCSS
$custom: #8248d4;
$custom-light: #ac7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8248d4",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 264.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.20451,
    "h": 298.3
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#8248D4
secondary
#C1D99F
accent
#E543A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8248D4

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

Preview Lab → · Contrast checker → · Palette generator →

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