#8339BF#8339BF

#8339BF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.201 H 305.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8339BF
RGBrgb(131, 57, 191)
HSLhsl(273, 54%, 49%)
HSVhsv(273, 70%, 75%)
CMYKcmyk(31.4%, 70.2%, 0%, 25.1%)
CIE-LABlab(40.43, 55.27, -57.45)
CIE-LCHlch(40.43, 79.72, 313.89°)
OKLaboklab(51.1% 0.1169 -0.1632)
OKLCHoklch(51.1% 0.201 305.6)
XYZxyz(20.2251, 11.5133, 50.4369)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339BF #75BF39
analogous
#4039BF #8339BF #BF39B8
triadic
#8339BF #BF8339 #39BF83
tetradic
#8339BF #BF4039 #75BF39 #39B8BF
square
#8339BF #BF4039 #75BF39 #39B8BF
split-complementary
#8339BF #B8BF39 #39BF40
monochromatic
#421D61 #632B90 #8339BF #A064D1 #BD93DF

Accessibility & contrast

On white

6.36
#8339BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8339BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339BF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339BF#FFFFFF#000000##FFFFFF
##8339BF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#785878
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8339bf;
/* rgb */ color: rgb(131, 57, 191);
/* oklch */ color: oklch(51.1% 0.201 305.6);
Tailwind
colors: {
  custom: {
    50: '#ac75d3',
    500: '#8339bf',
    950: '#000000',
  },
}
SCSS
$custom: #8339bf;
$custom-light: #ac75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8339bf",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 273.134,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.20075,
    "h": 305.6
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#8339BF
secondary
#A7CA8A
accent
#DD4A8C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8339BF

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

Preview Lab → · Contrast checker → · Palette generator →

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