#8241C5#8241C5

#8241C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.197 H 302.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8241C5
RGBrgb(130, 65, 197)
HSLhsl(270, 53%, 51%)
HSVhsv(270, 67%, 77%)
CMYKcmyk(34%, 67%, 0%, 22.7%)
CIE-LABlab(42.09, 52.71, -58.27)
CIE-LCHlch(42.09, 78.58, 312.13°)
OKLaboklab(52.39% 0.1063 -0.1657)
OKLCHoklch(52.39% 0.197 302.7)
XYZxyz(21.1719, 12.5576, 54.1210)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241C5 #84C541
analogous
#4142C5 #8241C5 #C441C5
triadic
#8241C5 #C58241 #41C582
tetradic
#8241C5 #C54142 #84C541 #41C5C4
square
#8241C5 #C54142 #84C541 #41C5C4
split-complementary
#8241C5 #C5C441 #42C541
monochromatic
#45216B #642F9A #8241C5 #A170D3 #C09FE2

Accessibility & contrast

On white

5.98
#8241C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8241C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241C5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241C5#FFFFFF#000000##FFFFFF
##8241C51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#755F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8241c5;
/* rgb */ color: rgb(130, 65, 197);
/* oklch */ color: oklch(52.4% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#ab7ad7',
    500: '#8241c5',
    950: '#000000',
  },
}
SCSS
$custom: #8241c5;
$custom-light: #ab7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8241c5",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 269.545,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52388,
    "c": 0.19684,
    "h": 302.7
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#8241C5
secondary
#B1CE94
accent
#DD4B95
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8241C5

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

Preview Lab → · Contrast checker → · Palette generator →

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