#8241CA#8241CA

#8241CA is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.202 H 301.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8241CA
RGBrgb(130, 65, 202)
HSLhsl(268, 56%, 52%)
HSVhsv(268, 68%, 79%)
CMYKcmyk(35.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(42.45, 53.93, -60.60)
CIE-LCHlch(42.45, 81.12, 311.67°)
OKLaboklab(52.76% 0.1057 -0.1725)
OKLCHoklch(52.76% 0.202 301.5)
XYZxyz(21.7543, 12.7906, 57.1884)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241CA #89CA41
analogous
#4145CA #8241CA #C741CA
triadic
#8241CA #CA8241 #41CA82
tetradic
#8241CA #CA4145 #89CA41 #41CAC7
square
#8241CA #CA4145 #89CA41 #41CAC7
split-complementary
#8241CA #CAC741 #45CA41
monochromatic
#462071 #642DA1 #8241CA #A171D7 #C1A1E5

Accessibility & contrast

On white

5.90
#8241CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8241CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241CA#FFFFFF#000000##FFFFFF
##8241CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#736180
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8241ca;
/* rgb */ color: rgb(130, 65, 202);
/* oklch */ color: oklch(52.8% 0.202 301.5);
Tailwind
colors: {
  custom: {
    50: '#ac7adb',
    500: '#8241ca',
    950: '#000000',
  },
}
SCSS
$custom: #8241ca;
$custom-light: #ac7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8241ca",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 268.467,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.20229,
    "h": 301.5
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#8241CA
secondary
#B5D196
accent
#E04898
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8241CA

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

Preview Lab → · Contrast checker → · Palette generator →

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