#8339DB#8339DB

#8339DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.230 H 299.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8339DB
RGBrgb(131, 57, 219)
HSLhsl(267, 69%, 54%)
HSVhsv(267, 74%, 86%)
CMYKcmyk(40.2%, 74%, 0%, 14.1%)
CIE-LABlab(42.56, 61.88, -70.19)
CIE-LCHlch(42.56, 93.57, 311.40°)
OKLaboklab(53.27% 0.1116 -0.2006)
OKLCHoklch(53.27% 0.23 299.1)
XYZxyz(23.6061, 12.8657, 68.2437)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339DB #91DB39
analogous
#3940DB #8339DB #D439DB
triadic
#8339DB #DB8339 #39DB83
tetradic
#8339DB #DB3940 #91DB39 #39DBD4
square
#8339DB #DB3940 #91DB39 #39DBD4
split-complementary
#8339DB #DBD439 #40DB39
monochromatic
#481882 #6521B6 #8339DB #A36DE4 #C4A1EE

Accessibility & contrast

On white

5.88
#8339DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8339DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339DB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339DB#FFFFFF#000000##FFFFFF
##8339DB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#6E6388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8339db;
/* rgb */ color: rgb(131, 57, 219);
/* oklch */ color: oklch(53.3% 0.230 299.1);
Tailwind
colors: {
  custom: {
    50: '#ae77e7',
    500: '#8339db',
    950: '#000000',
  },
}
SCSS
$custom: #8339db;
$custom-light: #ae77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8339db",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 267.407,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.22958,
    "h": 299.1
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#8339DB
secondary
#BBDA95
accent
#EC3C9C
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8339DB

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

Preview Lab → · Contrast checker → · Palette generator →

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