#8241BD#8241BD

#8241BD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.188 H 304.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8241BD
RGBrgb(130, 65, 189)
HSLhsl(271, 49%, 50%)
HSVhsv(271, 66%, 74%)
CMYKcmyk(31.2%, 65.6%, 0%, 25.9%)
CIE-LABlab(41.53, 50.79, -54.51)
CIE-LCHlch(41.53, 74.50, 312.98°)
OKLaboklab(51.81% 0.1071 -0.1546)
OKLCHoklch(51.81% 0.188 304.7)
XYZxyz(20.2795, 12.2006, 49.4208)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241BD #7CBD41
analogous
#4441BD #8241BD #BD41BA
triadic
#8241BD #BD8241 #41BD82
tetradic
#8241BD #BD4441 #7CBD41 #41BABD
square
#8241BD #BD4441 #7CBD41 #41BABD
split-complementary
#8241BD #BABD41 #41BD44
monochromatic
#432262 #63318F #8241BD #A06ECD #BE9CDD

Accessibility & contrast

On white

6.10
#8241BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8241BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241BD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241BD#FFFFFF#000000##FFFFFF
##8241BD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#775C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8241bd;
/* rgb */ color: rgb(130, 65, 189);
/* oklch */ color: oklch(51.8% 0.188 304.7);
Tailwind
colors: {
  custom: {
    50: '#ab7ad2',
    500: '#8241bd',
    950: '#000000',
  },
}
SCSS
$custom: #8241bd;
$custom-light: #ab7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8241bd",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 271.452,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.18809,
    "h": 304.7
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#8241BD
secondary
#ACC991
accent
#D84F91
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8241BD

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

Preview Lab → · Contrast checker → · Palette generator →

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