#8241C7#8241C7

#8241C7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.199 H 302.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8241C7
RGBrgb(130, 65, 199)
HSLhsl(269, 54%, 52%)
HSVhsv(269, 67%, 78%)
CMYKcmyk(34.7%, 67.3%, 0%, 22%)
CIE-LABlab(42.23, 53.20, -59.21)
CIE-LCHlch(42.23, 79.59, 311.94°)
OKLaboklab(52.53% 0.1061 -0.1684)
OKLCHoklch(52.53% 0.199 302.2)
XYZxyz(21.4026, 12.6499, 55.3359)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241C7 #86C741
analogous
#4143C7 #8241C7 #C541C7
triadic
#8241C7 #C78241 #41C782
tetradic
#8241C7 #C74143 #86C741 #41C7C5
square
#8241C7 #C74143 #86C741 #41C7C5
split-complementary
#8241C7 #C7C541 #43C741
monochromatic
#46206D #642E9D #8241C7 #A170D5 #C0A0E3

Accessibility & contrast

On white

5.95
#8241C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8241C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241C7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241C7#FFFFFF#000000##FFFFFF
##8241C71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#74607F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8241c7;
/* rgb */ color: rgb(130, 65, 199);
/* oklch */ color: oklch(52.5% 0.199 302.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ad9',
    500: '#8241c7',
    950: '#000000',
  },
}
SCSS
$custom: #8241c7;
$custom-light: #ab7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8241c7",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 269.104,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.19902,
    "h": 302.2
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#8241C7
secondary
#B3CF95
accent
#DE4A96
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8241C7

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

Preview Lab → · Contrast checker → · Palette generator →

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