#8339C2#8339C2

#8339C2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.204 H 304.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8339C2
RGBrgb(131, 57, 194)
HSLhsl(272, 55%, 49%)
HSVhsv(272, 71%, 76%)
CMYKcmyk(32.5%, 70.6%, 0%, 23.9%)
CIE-LABlab(40.65, 55.96, -58.85)
CIE-LCHlch(40.65, 81.21, 313.56°)
OKLaboklab(51.32% 0.1165 -0.1673)
OKLCHoklch(51.32% 0.204 304.8)
XYZxyz(20.5586, 11.6467, 52.1934)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339C2 #78C239
analogous
#3F39C2 #8339C2 #C239BD
triadic
#8339C2 #C28339 #39C283
tetradic
#8339C2 #C23F39 #78C239 #39BDC2
square
#8339C2 #C23F39 #78C239 #39BDC2
split-complementary
#8339C2 #BDC239 #39C23F
monochromatic
#431D63 #632B93 #8339C2 #A066D2 #BE95E0

Accessibility & contrast

On white

6.31
#8339C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8339C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339C2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339C2#FFFFFF#000000##FFFFFF
##8339C21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#77597A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8339c2;
/* rgb */ color: rgb(131, 57, 194);
/* oklch */ color: oklch(51.3% 0.204 304.8);
Tailwind
colors: {
  custom: {
    50: '#ac75d5',
    500: '#8339c2',
    950: '#000000',
  },
}
SCSS
$custom: #8339c2;
$custom-light: #ac75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8339c2",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 272.409,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.20385,
    "h": 304.8
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#8339C2
secondary
#A9CB8B
accent
#DE4A8E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8339C2

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

Preview Lab → · Contrast checker → · Palette generator →

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