#8249BA#8249BA

#8249BA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.173 H 304.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8249BA
RGBrgb(130, 73, 186)
HSLhsl(270, 45%, 51%)
HSVhsv(270, 61%, 73%)
CMYKcmyk(30.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(42.85, 45.95, -50.63)
CIE-LCHlch(42.85, 68.38, 312.22°)
OKLaboklab(52.7% 0.0978 -0.1432)
OKLCHoklch(52.7% 0.173 304.3)
XYZxyz(20.4494, 13.0562, 47.8876)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8249BA #81BA49
analogous
#4949BA #8249BA #BA49BA
triadic
#8249BA #BA8249 #49BA82
tetradic
#8249BA #BA4949 #81BA49 #49BABA
square
#8249BA #BA4949 #81BA49 #49BABA
split-complementary
#8249BA #BABA49 #49BA49
monochromatic
#452663 #63368F #8249BA #A075CB #BFA2DC

Accessibility & contrast

On white

5.82
#8249BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8249BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8249BA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8249BA#FFFFFF#000000##FFFFFF
##8249BA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#78607B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8249ba;
/* rgb */ color: rgb(130, 73, 186);
/* oklch */ color: oklch(52.7% 0.173 304.3);
Tailwind
colors: {
  custom: {
    50: '#aa7fcf',
    500: '#8249ba',
    950: '#000000',
  },
}
SCSS
$custom: #8249ba;
$custom-light: #aa7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8249ba",
  "rgb": {
    "r": 130,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 270.265,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.17346,
    "h": 304.3
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#8249BA
secondary
#AFC896
accent
#D55393
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8249BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8249BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva