#8248D2#8248D2

#8248D2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.202 H 298.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8248D2
RGBrgb(130, 72, 210)
HSLhsl(265, 61%, 55%)
HSVhsv(265, 66%, 82%)
CMYKcmyk(38.1%, 65.7%, 0%, 17.6%)
CIE-LABlab(44.28, 52.44, -62.24)
CIE-LCHlch(44.28, 81.38, 310.12°)
OKLaboklab(54.25% 0.0973 -0.1773)
OKLCHoklch(54.25% 0.202 298.7)
XYZxyz(23.1532, 14.0334, 62.4492)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248D2 #98D248
analogous
#4853D2 #8248D2 #C748D2
triadic
#8248D2 #D28248 #48D282
tetradic
#8248D2 #D24853 #98D248 #48D2C7
square
#8248D2 #D24853 #98D248 #48D2C7
split-complementary
#8248D2 #D2C748 #53D248
monochromatic
#482080 #642CB1 #8248D2 #A479DE #C5AAEA

Accessibility & contrast

On white

5.52
#8248D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8248D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248D2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248D2#FFFFFF#000000##FFFFFF
##8248D21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#6F6887
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8248d2;
/* rgb */ color: rgb(130, 72, 210);
/* oklch */ color: oklch(54.3% 0.202 298.7);
Tailwind
colors: {
  custom: {
    50: '#ac7fe1',
    500: '#8248d2',
    950: '#000000',
  },
}
SCSS
$custom: #8248d2;
$custom-light: #ac7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8248d2",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 265.217,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.20226,
    "h": 298.7
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#8248D2
secondary
#BFD89E
accent
#E444A1
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8248D2

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

Preview Lab → · Contrast checker → · Palette generator →

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