#8339B7#8339B7

#8339B7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.192 H 307.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8339B7
RGBrgb(131, 57, 183)
HSLhsl(275, 53%, 47%)
HSVhsv(275, 69%, 72%)
CMYKcmyk(28.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(39.87, 53.43, -53.67)
CIE-LCHlch(39.87, 75.73, 314.87°)
OKLaboklab(50.51% 0.118 -0.1521)
OKLCHoklch(50.51% 0.192 307.8)
XYZxyz(19.3687, 11.1707, 45.9264)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339B7 #6DB739
analogous
#4439B7 #8339B7 #B739AC
triadic
#8339B7 #B78339 #39B783
tetradic
#8339B7 #B74439 #6DB739 #39ACB7
square
#8339B7 #B74439 #6DB739 #39ACB7
split-complementary
#8339B7 #ACB739 #39B744
monochromatic
#401C5A #622A88 #8339B7 #A060CD #BC8EDC

Accessibility & contrast

On white

6.49
#8339B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8339B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339B7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339B7#FFFFFF#000000##FFFFFF
##8339B71.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#1A5FB4
Tritanopia (blue-blind)
#7B5574
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8339b7;
/* rgb */ color: rgb(131, 57, 183);
/* oklch */ color: oklch(50.5% 0.192 307.8);
Tailwind
colors: {
  custom: {
    50: '#ab75cd',
    500: '#8339b7',
    950: '#000000',
  },
}
SCSS
$custom: #8339b7;
$custom-light: #ab75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8339b7",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 275.238,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.19247,
    "h": 307.8
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#8339B7
secondary
#A0C785
accent
#DC4C87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8339B7

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

Preview Lab → · Contrast checker → · Palette generator →

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