#8241BF#8241BF

#8241BF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.190 H 304.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8241BF
RGBrgb(130, 65, 191)
HSLhsl(271, 50%, 50%)
HSVhsv(271, 66%, 75%)
CMYKcmyk(31.9%, 66%, 0%, 25.1%)
CIE-LABlab(41.67, 51.26, -55.45)
CIE-LCHlch(41.67, 75.52, 312.75°)
OKLaboklab(51.96% 0.107 -0.1574)
OKLCHoklch(51.96% 0.19 304.2)
XYZxyz(20.4981, 12.2881, 50.5721)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241BF #7EBF41
analogous
#4341BF #8241BF #BF41BD
triadic
#8241BF #BF8241 #41BF82
tetradic
#8241BF #BF4341 #7EBF41 #41BDBF
square
#8241BF #BF4341 #7EBF41 #41BDBF
split-complementary
#8241BF #BDBF41 #41BF43
monochromatic
#442264 #633192 #8241BF #A06FCE #BE9DDE

Accessibility & contrast

On white

6.07
#8241BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8241BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241BF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241BF#FFFFFF#000000##FFFFFF
##8241BF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#775D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8241bf;
/* rgb */ color: rgb(130, 65, 191);
/* oklch */ color: oklch(52.0% 0.190 304.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ad3',
    500: '#8241bf',
    950: '#000000',
  },
}
SCSS
$custom: #8241bf;
$custom-light: #ab7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8241bf",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 270.952,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.19028,
    "h": 304.2
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#8241BF
secondary
#ADCA92
accent
#D94F92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8241BF

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

Preview Lab → · Contrast checker → · Palette generator →

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