#8339B8#8339B8

#8339B8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.194 H 307.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8339B8
RGBrgb(131, 57, 184)
HSLhsl(275, 53%, 47%)
HSVhsv(275, 69%, 72%)
CMYKcmyk(28.8%, 69%, 0%, 27.8%)
CIE-LABlab(39.94, 53.66, -54.15)
CIE-LCHlch(39.94, 76.23, 314.74°)
OKLaboklab(50.59% 0.1179 -0.1535)
OKLCHoklch(50.59% 0.194 307.5)
XYZxyz(19.4731, 11.2125, 46.4765)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339B8 #6EB839
analogous
#4439B8 #8339B8 #B839AD
triadic
#8339B8 #B88339 #39B883
tetradic
#8339B8 #B84439 #6EB839 #39ADB8
square
#8339B8 #B84439 #6EB839 #39ADB8
split-complementary
#8339B8 #ADB839 #39B844
monochromatic
#401C5B #622B89 #8339B8 #A060CE #BC8FDC

Accessibility & contrast

On white

6.48
#8339B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8339B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339B8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339B8#FFFFFF#000000##FFFFFF
##8339B81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#7A5574
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8339b8;
/* rgb */ color: rgb(131, 57, 184);
/* oklch */ color: oklch(50.6% 0.194 307.5);
Tailwind
colors: {
  custom: {
    50: '#ab75ce',
    500: '#8339b8',
    950: '#000000',
  },
}
SCSS
$custom: #8339b8;
$custom-light: #ab75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8339b8",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 274.961,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.1935,
    "h": 307.5
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#8339B8
secondary
#A1C786
accent
#DC4C88
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8339B8

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

Preview Lab → · Contrast checker → · Palette generator →

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