#8248DC#8248DC

#8248DC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.213 H 296.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8248DC
RGBrgb(130, 72, 220)
HSLhsl(264, 68%, 57%)
HSVhsv(264, 67%, 86%)
CMYKcmyk(40.9%, 67.3%, 0%, 13.7%)
CIE-LABlab(45.01, 54.98, -66.78)
CIE-LCHlch(45.01, 86.50, 309.46°)
OKLaboklab(55% 0.096 -0.1907)
OKLCHoklch(55% 0.213 296.7)
XYZxyz(24.4382, 14.5474, 69.2166)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248DC #A2DC48
analogous
#4858DC #8248DC #CC48DC
triadic
#8248DC #DC8248 #48DC82
tetradic
#8248DC #DC4858 #A2DC48 #48DCCC
square
#8248DC #DC4858 #A2DC48 #48DCCC
split-complementary
#8248DC #DCCC48 #58DC48
monochromatic
#481B8E #6225C2 #8248DC #A57BE6 #C8AFF0

Accessibility & contrast

On white

5.37
#8248DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8248DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248DC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248DC#FFFFFF#000000##FFFFFF
##8248DC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#6B6B8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8248dc;
/* rgb */ color: rgb(130, 72, 220);
/* oklch */ color: oklch(55.0% 0.213 296.7);
Tailwind
colors: {
  custom: {
    50: '#ad7fe8',
    500: '#8248dc',
    950: '#000000',
  },
}
SCSS
$custom: #8248dc;
$custom-light: #ad7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8248dc",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 263.514,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.21349,
    "h": 296.7
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#8248DC
secondary
#C6DEA2
accent
#EB3DA7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8248DC

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

Preview Lab → · Contrast checker → · Palette generator →

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