#8339CC#8339CC

#8339CC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.214 H 302.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8339CC
RGBrgb(131, 57, 204)
HSLhsl(270, 59%, 51%)
HSVhsv(270, 72%, 80%)
CMYKcmyk(35.8%, 72.1%, 0%, 20%)
CIE-LABlab(41.39, 58.31, -63.46)
CIE-LCHlch(41.39, 86.18, 312.58°)
OKLaboklab(52.08% 0.1147 -0.1808)
OKLCHoklch(52.08% 0.214 302.4)
XYZxyz(21.7197, 12.1111, 58.3084)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339CC #82CC39
analogous
#3939CC #8339CC #CC39CB
triadic
#8339CC #CC8339 #39CC83
tetradic
#8339CC #CC3939 #82CC39 #39CBCC
square
#8339CC #CC3939 #82CC39 #39CBCC
split-complementary
#8339CC #CBCC39 #39CC39
monochromatic
#461C6E #64299F #8339CC #A16AD9 #C09AE5

Accessibility & contrast

On white

6.14
#8339CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8339CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339CC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339CC#FFFFFF#000000##FFFFFF
##8339CC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#745D7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8339cc;
/* rgb */ color: rgb(131, 57, 204);
/* oklch */ color: oklch(52.1% 0.214 302.4);
Tailwind
colors: {
  custom: {
    50: '#ad76dc',
    500: '#8339cc',
    950: '#000000',
  },
}
SCSS
$custom: #8339cc;
$custom-light: #ad76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8339cc",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 270.204,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.21417,
    "h": 302.4
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#8339CC
secondary
#B0D190
accent
#E24693
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8339CC

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

Preview Lab → · Contrast checker → · Palette generator →

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