#8241AC#8241AC

#8241AC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.169 H 309.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8241AC
RGBrgb(130, 65, 172)
HSLhsl(276, 45%, 46%)
HSVhsv(276, 62%, 67%)
CMYKcmyk(24.4%, 62.2%, 0%, 32.5%)
CIE-LABlab(40.42, 46.80, -46.28)
CIE-LCHlch(40.42, 65.82, 315.32°)
OKLaboklab(50.65% 0.1081 -0.1304)
OKLCHoklch(50.65% 0.169 309.7)
XYZxyz(18.5412, 11.5053, 40.2657)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241AC #6BAC41
analogous
#4D41AC #8241AC #AC41A1
triadic
#8241AC #AC8241 #41AC82
tetradic
#8241AC #AC4D41 #6BAC41 #41A1AC
square
#8241AC #AC4D41 #6BAC41 #41A1AC
split-complementary
#8241AC #A1AC41 #41AC4D
monochromatic
#3F1F53 #603080 #8241AC #9F65C5 #BB92D6

Accessibility & contrast

On white

6.36
#8241AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8241AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241AC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241AC#FFFFFF#000000##FFFFFF
##8241AC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#7C5670
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8241ac;
/* rgb */ color: rgb(130, 65, 172);
/* oklch */ color: oklch(50.7% 0.169 309.7);
Tailwind
colors: {
  custom: {
    50: '#aa79c5',
    500: '#8241ac',
    950: '#000000',
  },
}
SCSS
$custom: #8241ac;
$custom-light: #aa79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8241ac",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 276.449,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.16943,
    "h": 309.7
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#8241AC
secondary
#9EC188
accent
#D55386
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8241AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8241AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva