#8339C6#8339C6

#8339C6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.208 H 303.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8339C6
RGBrgb(131, 57, 198)
HSLhsl(271, 55%, 50%)
HSVhsv(271, 71%, 78%)
CMYKcmyk(33.8%, 71.2%, 0%, 22.4%)
CIE-LABlab(40.94, 56.90, -60.71)
CIE-LCHlch(40.94, 83.20, 313.14°)
OKLaboklab(51.62% 0.1158 -0.1727)
OKLCHoklch(51.62% 0.208 303.8)
XYZxyz(21.0139, 11.8288, 54.5913)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339C6 #7CC639
analogous
#3C39C6 #8339C6 #C639C3
triadic
#8339C6 #C68339 #39C683
tetradic
#8339C6 #C63C39 #7CC639 #39C3C6
square
#8339C6 #C63C39 #7CC639 #39C3C6
split-complementary
#8339C6 #C3C639 #39C63C
monochromatic
#441E67 #642B96 #8339C6 #A169D4 #BF98E1

Accessibility & contrast

On white

6.24
#8339C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8339C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339C6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339C6#FFFFFF#000000##FFFFFF
##8339C61.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#765B7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8339c6;
/* rgb */ color: rgb(131, 57, 198);
/* oklch */ color: oklch(51.6% 0.208 303.8);
Tailwind
colors: {
  custom: {
    50: '#ac76d8',
    500: '#8339c6',
    950: '#000000',
  },
}
SCSS
$custom: #8339c6;
$custom-light: #ac76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8339c6",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 271.489,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.20798,
    "h": 303.8
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#8339C6
secondary
#ACCD8E
accent
#DF4990
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8339C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8339C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva