#8248BC#8248BC

#8248BC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.177 H 304.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8248BC
RGBrgb(130, 72, 188)
HSLhsl(270, 46%, 51%)
HSVhsv(270, 62%, 74%)
CMYKcmyk(30.9%, 61.7%, 0%, 26.3%)
CIE-LABlab(42.78, 46.97, -51.91)
CIE-LCHlch(42.78, 70.01, 312.14°)
OKLaboklab(52.69% 0.099 -0.147)
OKLCHoklch(52.69% 0.177 304)
XYZxyz(20.5983, 13.0115, 48.9935)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8248BC #82BC48
analogous
#4848BC #8248BC #BC48BC
triadic
#8248BC #BC8248 #48BC82
tetradic
#8248BC #BC4848 #82BC48 #48BCBC
square
#8248BC #BC4848 #82BC48 #48BCBC
split-complementary
#8248BC #BCBC48 #48BC48
monochromatic
#452565 #633592 #8248BC #A175CC #BFA2DD

Accessibility & contrast

On white

5.83
#8248BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8248BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8248BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8248BC#FFFFFF#000000##FFFFFF
##8248BC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#77607B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8248bc;
/* rgb */ color: rgb(130, 72, 188);
/* oklch */ color: oklch(52.7% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa7ed1',
    500: '#8248bc',
    950: '#000000',
  },
}
SCSS
$custom: #8248bc;
$custom-light: #aa7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8248bc",
  "rgb": {
    "r": 130,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.17722,
    "h": 304
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#8248BC
secondary
#B0CA96
accent
#D65294
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8248BC

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

Preview Lab → · Contrast checker → · Palette generator →

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