#8341CB#8341CB

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

Color values

HEX#8341CB
RGBrgb(131, 65, 203)
HSLhsl(269, 57%, 53%)
HSVhsv(269, 68%, 80%)
CMYKcmyk(35.5%, 68%, 0%, 20.4%)
CIE-LABlab(42.64, 54.37, -60.86)
CIE-LCHlch(42.64, 81.61, 311.78°)
OKLaboklab(52.94% 0.1069 -0.1732)
OKLCHoklch(52.94% 0.204 301.7)
XYZxyz(22.0273, 12.9176, 57.8212)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341CB #89CB41
analogous
#4144CB #8341CB #C841CB
triadic
#8341CB #CB8341 #41CB83
tetradic
#8341CB #CB4144 #89CB41 #41CBC8
square
#8341CB #CB4144 #89CB41 #41CBC8
split-complementary
#8341CB #CBC841 #44CB41
monochromatic
#471F72 #652CA2 #8341CB #A271D8 #C2A1E5

Accessibility & contrast

On white

5.86
#8341CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8341CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341CB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341CB#FFFFFF#000000##FFFFFF
##8341CB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#746181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8341cb;
/* rgb */ color: rgb(131, 65, 203);
/* oklch */ color: oklch(52.9% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#ac7adc',
    500: '#8341cb',
    950: '#000000',
  },
}
SCSS
$custom: #8341cb;
$custom-light: #ac7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8341cb",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 268.696,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.20356,
    "h": 301.7
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8341CB

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

Preview Lab → · Contrast checker → · Palette generator →

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