#8339E2#8339E2

#8339E2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.8% C 0.237 H 297.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8339E2
RGBrgb(131, 57, 226)
HSLhsl(266, 74%, 55%)
HSVhsv(266, 75%, 89%)
CMYKcmyk(42%, 74.8%, 0%, 11.4%)
CIE-LABlab(43.13, 63.56, -73.26)
CIE-LCHlch(43.13, 96.99, 310.94°)
OKLaboklab(53.84% 0.11 -0.2096)
OKLCHoklch(53.84% 0.237 297.7)
XYZxyz(24.5471, 13.2421, 73.1994)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339E2 #98E239
analogous
#3944E2 #8339E2 #D739E2
triadic
#8339E2 #E28339 #39E283
tetradic
#8339E2 #E23944 #98E239 #39E2D7
square
#8339E2 #E23944 #98E239 #39E2D7
split-complementary
#8339E2 #E2D739 #44E239
monochromatic
#49158C #651CC1 #8339E2 #A46EEA #C6A4F2

Accessibility & contrast

On white

5.76
#8339E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8339E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339E2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339E2#FFFFFF#000000##FFFFFF
##8339E21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#6B668C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8339e2;
/* rgb */ color: rgb(131, 57, 226);
/* oklch */ color: oklch(53.8% 0.237 297.7);
Tailwind
colors: {
  custom: {
    50: '#af77ec',
    500: '#8339e2',
    950: '#000000',
  },
}
SCSS
$custom: #8339e2;
$custom-light: #af77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8339e2",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 266.272,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.23673,
    "h": 297.7
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#8339E2
secondary
#C0DF98
accent
#F1379F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8339E2

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

Preview Lab → · Contrast checker → · Palette generator →

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