#8339B2#8339B2

#8339B2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.187 H 309.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8339B2
RGBrgb(131, 57, 178)
HSLhsl(277, 51%, 46%)
HSVhsv(277, 68%, 70%)
CMYKcmyk(26.4%, 68%, 0%, 30.2%)
CIE-LABlab(39.52, 52.30, -51.27)
CIE-LCHlch(39.52, 73.24, 315.57°)
OKLaboklab(50.16% 0.1185 -0.145)
OKLCHoklch(50.16% 0.187 309.3)
XYZxyz(18.8575, 10.9662, 43.2341)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339B2 #68B239
analogous
#4639B2 #8339B2 #B239A4
triadic
#8339B2 #B28339 #39B283
tetradic
#8339B2 #B24639 #68B239 #39A4B2
square
#8339B2 #B24639 #68B239 #39A4B2
split-complementary
#8339B2 #A4B239 #39B246
monochromatic
#3F1B55 #612A84 #8339B2 #A05DCB #BB8BDA

Accessibility & contrast

On white

6.58
#8339B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8339B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339B2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339B2#FFFFFF#000000##FFFFFF
##8339B21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#7C5371
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8339b2;
/* rgb */ color: rgb(131, 57, 178);
/* oklch */ color: oklch(50.2% 0.187 309.3);
Tailwind
colors: {
  custom: {
    50: '#ab75ca',
    500: '#8339b2',
    950: '#000000',
  },
}
SCSS
$custom: #8339b2;
$custom-light: #ab75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8339b2",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 276.694,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.18729,
    "h": 309.3
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#8339B2
secondary
#9CC482
accent
#DB4D84
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8339B2

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

Preview Lab → · Contrast checker → · Palette generator →

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