#8341CA#8341CA

#8341CA is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.202 H 301.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8341CA
RGBrgb(131, 65, 202)
HSLhsl(269, 56%, 52%)
HSVhsv(269, 68%, 79%)
CMYKcmyk(35.1%, 67.8%, 0%, 20.8%)
CIE-LABlab(42.57, 54.13, -60.40)
CIE-LCHlch(42.57, 81.10, 311.87°)
OKLaboklab(52.87% 0.107 -0.1719)
OKLCHoklch(52.87% 0.202 301.9)
XYZxyz(21.9085, 12.8701, 57.1956)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341CA #88CA41
analogous
#4144CA #8341CA #C841CA
triadic
#8341CA #CA8341 #41CA83
tetradic
#8341CA #CA4144 #88CA41 #41CAC8
square
#8341CA #CA4144 #88CA41 #41CAC8
split-complementary
#8341CA #CAC841 #44CA41
monochromatic
#472071 #652DA1 #8341CA #A271D7 #C1A1E5

Accessibility & contrast

On white

5.88
#8341CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8341CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341CA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341CA#FFFFFF#000000##FFFFFF
##8341CA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8341ca;
/* rgb */ color: rgb(131, 65, 202);
/* oklch */ color: oklch(52.9% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#ac7adb',
    500: '#8341ca',
    950: '#000000',
  },
}
SCSS
$custom: #8341ca;
$custom-light: #ac7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8341ca",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 268.905,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.20248,
    "h": 301.9
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#8341CA
secondary
#B4D196
accent
#E04897
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8341CA

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

Preview Lab → · Contrast checker → · Palette generator →

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