#8247B8#8247B8

#8247B8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.174 H 305.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8247B8
RGBrgb(130, 71, 184)
HSLhsl(271, 44%, 50%)
HSVhsv(271, 61%, 72%)
CMYKcmyk(29.3%, 61.4%, 0%, 27.8%)
CIE-LABlab(42.33, 46.52, -50.30)
CIE-LCHlch(42.33, 68.51, 312.77°)
OKLaboklab(52.28% 0.1003 -0.1423)
OKLCHoklch(52.28% 0.174 305.2)
XYZxyz(20.1090, 12.7131, 46.7326)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8247B8 #7DB847
analogous
#4947B8 #8247B8 #B847B6
triadic
#8247B8 #B88247 #47B882
tetradic
#8247B8 #B84947 #7DB847 #47B6B8
square
#8247B8 #B84947 #7DB847 #47B6B8
split-complementary
#8247B8 #B6B847 #47B849
monochromatic
#442560 #63368C #8247B8 #A073C9 #BE9FDA

Accessibility & contrast

On white

5.93
#8247B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8247B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8247B8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8247B8#FFFFFF#000000##FFFFFF
##8247B81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BC
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#795E79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8247b8;
/* rgb */ color: rgb(130, 71, 184);
/* oklch */ color: oklch(52.3% 0.174 305.2);
Tailwind
colors: {
  custom: {
    50: '#aa7dce',
    500: '#8247b8',
    950: '#000000',
  },
}
SCSS
$custom: #8247b8;
$custom-light: #aa7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#8247b8",
  "rgb": {
    "r": 130,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 271.327,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.17409,
    "h": 305.2
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#8247B8
secondary
#ACC794
accent
#D45491
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8247B8

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

Preview Lab → · Contrast checker → · Palette generator →

#8247B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva