#8339BD#8339BD

#8339BD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.199 H 306.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8339BD
RGBrgb(131, 57, 189)
HSLhsl(274, 54%, 48%)
HSVhsv(274, 70%, 74%)
CMYKcmyk(30.7%, 69.8%, 0%, 25.9%)
CIE-LABlab(40.29, 54.80, -56.51)
CIE-LCHlch(40.29, 78.72, 314.12°)
OKLaboklab(50.95% 0.1172 -0.1604)
OKLCHoklch(50.95% 0.199 306.2)
XYZxyz(20.0065, 11.4259, 49.2857)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339BD #73BD39
analogous
#4139BD #8339BD #BD39B5
triadic
#8339BD #BD8339 #39BD83
tetradic
#8339BD #BD4139 #73BD39 #39B5BD
square
#8339BD #BD4139 #73BD39 #39B5BD
split-complementary
#8339BD #B5BD39 #39BD41
monochromatic
#421D5F #622B8E #8339BD #A063D0 #BD92DE

Accessibility & contrast

On white

6.39
#8339BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8339BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339BD#FFFFFF#000000##FFFFFF
##8339BD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#085FBA
Tritanopia (blue-blind)
#795777
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8339bd;
/* rgb */ color: rgb(131, 57, 189);
/* oklch */ color: oklch(50.9% 0.199 306.2);
Tailwind
colors: {
  custom: {
    50: '#ac75d2',
    500: '#8339bd',
    950: '#000000',
  },
}
SCSS
$custom: #8339bd;
$custom-light: #ac75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8339bd",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 273.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.19868,
    "h": 306.2
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#8339BD
secondary
#A5C989
accent
#DD4B8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8339BD

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

Preview Lab → · Contrast checker → · Palette generator →

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