#8241CC#8241CC

#8241CC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.204 H 301.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8241CC
RGBrgb(130, 65, 204)
HSLhsl(268, 58%, 53%)
HSVhsv(268, 68%, 80%)
CMYKcmyk(36.3%, 68.1%, 0%, 20%)
CIE-LABlab(42.59, 54.41, -61.52)
CIE-LCHlch(42.59, 82.13, 311.49°)
OKLaboklab(52.91% 0.1054 -0.1752)
OKLCHoklch(52.91% 0.204 301)
XYZxyz(21.9927, 12.8859, 58.4436)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241CC #8BCC41
analogous
#4145CC #8241CC #C841CC
triadic
#8241CC #CC8241 #41CC82
tetradic
#8241CC #CC4145 #8BCC41 #41CCC8
square
#8241CC #CC4145 #8BCC41 #41CCC8
split-complementary
#8241CC #CCC841 #45CC41
monochromatic
#471F74 #642CA4 #8241CC #A271D9 #C1A1E6

Accessibility & contrast

On white

5.87
#8241CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8241CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241CC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241CC#FFFFFF#000000##FFFFFF
##8241CC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#726181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8241cc;
/* rgb */ color: rgb(130, 65, 204);
/* oklch */ color: oklch(52.9% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#ac7adc',
    500: '#8241cc',
    950: '#000000',
  },
}
SCSS
$custom: #8241cc;
$custom-light: #ac7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8241cc",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 268.058,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.20447,
    "h": 301
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#8241CC
secondary
#B6D396
accent
#E14799
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8241CC

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

Preview Lab → · Contrast checker → · Palette generator →

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