#8241C3#8241C3

#8241C3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.195 H 303.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8241C3
RGBrgb(130, 65, 195)
HSLhsl(270, 52%, 51%)
HSVhsv(270, 67%, 76%)
CMYKcmyk(33.3%, 66.7%, 0%, 23.5%)
CIE-LABlab(41.95, 52.23, -57.34)
CIE-LCHlch(41.95, 77.56, 312.33°)
OKLaboklab(52.24% 0.1065 -0.1629)
OKLCHoklch(52.24% 0.195 303.2)
XYZxyz(20.9443, 12.4666, 52.9221)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241C3 #82C341
analogous
#4141C3 #8241C3 #C341C3
triadic
#8241C3 #C38241 #41C382
tetradic
#8241C3 #C34141 #82C341 #41C3C3
square
#8241C3 #C34141 #82C341 #41C3C3
split-complementary
#8241C3 #C3C341 #41C341
monochromatic
#452169 #633097 #8241C3 #A170D2 #BF9EE0

Accessibility & contrast

On white

6.01
#8241C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8241C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241C3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241C3#FFFFFF#000000##FFFFFF
##8241C31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0A63C0
Tritanopia (blue-blind)
#755E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8241c3;
/* rgb */ color: rgb(130, 65, 195);
/* oklch */ color: oklch(52.2% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ad6',
    500: '#8241c3',
    950: '#000000',
  },
}
SCSS
$custom: #8241c3;
$custom-light: #ab7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#8241c3",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 270,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.19466,
    "h": 303.2
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#8241C3
secondary
#B0CD93
accent
#DB4C94
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8241C3

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

Preview Lab → · Contrast checker → · Palette generator →

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