#8241AF#8241AF

#8241AF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.173 H 308.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8241AF
RGBrgb(130, 65, 175)
HSLhsl(275, 46%, 47%)
HSVhsv(275, 63%, 69%)
CMYKcmyk(25.7%, 62.9%, 0%, 31.4%)
CIE-LABlab(40.61, 47.49, -47.76)
CIE-LCHlch(40.61, 67.35, 314.84°)
OKLaboklab(50.85% 0.108 -0.1348)
OKLCHoklch(50.85% 0.173 308.7)
XYZxyz(18.8325, 11.6219, 41.8003)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241AF #6EAF41
analogous
#4B41AF #8241AF #AF41A5
triadic
#8241AF #AF8241 #41AF82
tetradic
#8241AF #AF4B41 #6EAF41 #41A5AF
square
#8241AF #AF4B41 #6EAF41 #41A5AF
split-complementary
#8241AF #A5AF41 #41AF4B
monochromatic
#402056 #613082 #8241AF #9F67C6 #BB93D7

Accessibility & contrast

On white

6.32
#8241AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8241AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241AF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241AF#FFFFFF#000000##FFFFFF
##8241AF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065DB2
Deuteranopia (green-blind)
#3061AC
Tritanopia (blue-blind)
#7B5772
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8241af;
/* rgb */ color: rgb(130, 65, 175);
/* oklch */ color: oklch(50.8% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#aa79c7',
    500: '#8241af',
    950: '#000000',
  },
}
SCSS
$custom: #8241af;
$custom-light: #aa79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8241af",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 275.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5085,
    "c": 0.17272,
    "h": 308.7
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#8241AF
secondary
#A1C289
accent
#D55288
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8241AF

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

Preview Lab → · Contrast checker → · Palette generator →

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