#8241BC#8241BC

#8241BC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.187 H 305.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8241BC
RGBrgb(130, 65, 188)
HSLhsl(272, 49%, 50%)
HSVhsv(272, 65%, 74%)
CMYKcmyk(30.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(41.47, 50.55, -54.03)
CIE-LCHlch(41.47, 73.99, 313.09°)
OKLaboklab(51.74% 0.1072 -0.1532)
OKLCHoklch(51.74% 0.187 305)
XYZxyz(20.1713, 12.1574, 48.8511)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241BC #7BBC41
analogous
#4441BC #8241BC #BC41B9
triadic
#8241BC #BC8241 #41BC82
tetradic
#8241BC #BC4441 #7BBC41 #41B9BC
square
#8241BC #BC4441 #7BBC41 #41B9BC
split-complementary
#8241BC #B9BC41 #41BC44
monochromatic
#432261 #63318F #8241BC #A06ECD #BE9BDC

Accessibility & contrast

On white

6.12
#8241BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8241BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241BC#FFFFFF#000000##FFFFFF
##8241BC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#785C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8241bc;
/* rgb */ color: rgb(130, 65, 188);
/* oklch */ color: oklch(51.7% 0.187 305.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ad1',
    500: '#8241bc',
    950: '#000000',
  },
}
SCSS
$custom: #8241bc;
$custom-light: #ab7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8241bc",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 271.707,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.18699,
    "h": 305
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#8241BC
secondary
#ABC990
accent
#D85090
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8241BC

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

Preview Lab → · Contrast checker → · Palette generator →

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