#8339D5#8339D5

#8339D5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.223 H 300.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8339D5
RGBrgb(131, 57, 213)
HSLhsl(268, 65%, 53%)
HSVhsv(268, 73%, 84%)
CMYKcmyk(38.5%, 73.2%, 0%, 16.5%)
CIE-LABlab(42.09, 60.44, -67.52)
CIE-LCHlch(42.09, 90.62, 311.83°)
OKLaboklab(52.79% 0.1129 -0.1928)
OKLCHoklch(52.79% 0.223 300.4)
XYZxyz(22.8305, 12.5554, 64.1585)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339D5 #8BD539
analogous
#393DD5 #8339D5 #D139D5
triadic
#8339D5 #D58339 #39D583
tetradic
#8339D5 #D5393D #8BD539 #39D5D1
square
#8339D5 #D5393D #8BD539 #39D5D1
split-complementary
#8339D5 #D5D139 #3DD539
monochromatic
#471A7A #6525AC #8339D5 #A36BE0 #C29EEA

Accessibility & contrast

On white

5.98
#8339D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8339D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339D5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339D5#FFFFFF#000000##FFFFFF
##8339D51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#706184
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8339d5;
/* rgb */ color: rgb(131, 57, 213);
/* oklch */ color: oklch(52.8% 0.223 300.4);
Tailwind
colors: {
  custom: {
    50: '#ae76e3',
    500: '#8339d5',
    950: '#000000',
  },
}
SCSS
$custom: #8339d5;
$custom-light: #ae76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8339d5",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 268.462,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.22344,
    "h": 300.4
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#8339D5
secondary
#B7D793
accent
#E84098
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8339D5

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

Preview Lab → · Contrast checker → · Palette generator →

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