#8339C4#8339C4

#8339C4 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.206 H 304.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8339C4
RGBrgb(131, 57, 196)
HSLhsl(272, 55%, 50%)
HSVhsv(272, 71%, 77%)
CMYKcmyk(33.2%, 70.9%, 0%, 23.1%)
CIE-LABlab(40.80, 56.43, -59.78)
CIE-LCHlch(40.80, 82.21, 313.35°)
OKLaboklab(51.47% 0.1162 -0.17)
OKLCHoklch(51.47% 0.206 304.3)
XYZxyz(20.7847, 11.7372, 53.3844)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339C4 #7AC439
analogous
#3D39C4 #8339C4 #C439C0
triadic
#8339C4 #C48339 #39C483
tetradic
#8339C4 #C43D39 #7AC439 #39C0C4
square
#8339C4 #C43D39 #7AC439 #39C0C4
split-complementary
#8339C4 #C0C439 #39C43D
monochromatic
#441D65 #632B95 #8339C4 #A167D3 #BE97E1

Accessibility & contrast

On white

6.27
#8339C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8339C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339C4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339C4#FFFFFF#000000##FFFFFF
##8339C41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#775A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8339c4;
/* rgb */ color: rgb(131, 57, 196);
/* oklch */ color: oklch(51.5% 0.206 304.3);
Tailwind
colors: {
  custom: {
    50: '#ac76d7',
    500: '#8339c4',
    950: '#000000',
  },
}
SCSS
$custom: #8339c4;
$custom-light: #ac76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8339c4",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 271.942,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.20592,
    "h": 304.3
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#8339C4
secondary
#AACC8D
accent
#DE4A8F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8339C4

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

Preview Lab → · Contrast checker → · Palette generator →

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