#8339C5#8339C5

#8339C5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.207 H 304.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8339C5
RGBrgb(131, 57, 197)
HSLhsl(272, 55%, 50%)
HSVhsv(272, 71%, 77%)
CMYKcmyk(33.5%, 71.1%, 0%, 22.7%)
CIE-LABlab(40.87, 56.66, -60.25)
CIE-LCHlch(40.87, 82.70, 313.24°)
OKLaboklab(51.54% 0.116 -0.1714)
OKLCHoklch(51.54% 0.207 304.1)
XYZxyz(20.8989, 11.7828, 53.9858)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339C5 #7BC539
analogous
#3D39C5 #8339C5 #C539C1
triadic
#8339C5 #C58339 #39C583
tetradic
#8339C5 #C53D39 #7BC539 #39C1C5
square
#8339C5 #C53D39 #7BC539 #39C1C5
split-complementary
#8339C5 #C1C539 #39C53D
monochromatic
#441E66 #632B96 #8339C5 #A168D3 #BE97E1

Accessibility & contrast

On white

6.26
#8339C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8339C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339C5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339C5#FFFFFF#000000##FFFFFF
##8339C51.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#765A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8339c5;
/* rgb */ color: rgb(131, 57, 197);
/* oklch */ color: oklch(51.5% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#ac76d7',
    500: '#8339c5',
    950: '#000000',
  },
}
SCSS
$custom: #8339c5;
$custom-light: #ac76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8339c5",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 271.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.20695,
    "h": 304.1
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#8339C5
secondary
#ABCD8D
accent
#DE4990
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8339C5

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

Preview Lab → · Contrast checker → · Palette generator →

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