#8339D9#8339D9

#8339D9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.228 H 299.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8339D9
RGBrgb(131, 57, 217)
HSLhsl(268, 68%, 54%)
HSVhsv(268, 74%, 85%)
CMYKcmyk(39.6%, 73.7%, 0%, 14.9%)
CIE-LABlab(42.40, 61.40, -69.31)
CIE-LCHlch(42.40, 92.59, 311.54°)
OKLaboklab(53.11% 0.1121 -0.198)
OKLCHoklch(53.11% 0.228 299.5)
XYZxyz(23.3444, 12.7610, 66.8654)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339D9 #8FD939
analogous
#393FD9 #8339D9 #D339D9
triadic
#8339D9 #D98339 #39D983
tetradic
#8339D9 #D9393F #8FD939 #39D9D3
square
#8339D9 #D9393F #8FD939 #39D9D3
split-complementary
#8339D9 #D9D339 #3FD939
monochromatic
#48187F #6522B3 #8339D9 #A36CE3 #C3A0ED

Accessibility & contrast

On white

5.91
#8339D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8339D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339D9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339D9#FFFFFF#000000##FFFFFF
##8339D91.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#6F6286
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8339d9;
/* rgb */ color: rgb(131, 57, 217);
/* oklch */ color: oklch(53.1% 0.228 299.5);
Tailwind
colors: {
  custom: {
    50: '#ae76e6',
    500: '#8339d9',
    950: '#000000',
  },
}
SCSS
$custom: #8339d9;
$custom-light: #ae76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8339d9",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 267.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.22753,
    "h": 299.5
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#8339D9
secondary
#B9D995
accent
#EB3D9A
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8339D9

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

Preview Lab → · Contrast checker → · Palette generator →

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