#8337D6#8337D6

#8337D6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.7% C 0.227 H 300.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8337D6
RGBrgb(131, 55, 214)
HSLhsl(269, 66%, 53%)
HSVhsv(269, 74%, 84%)
CMYKcmyk(38.8%, 74.3%, 0%, 16.1%)
CIE-LABlab(41.86, 61.53, -68.46)
CIE-LCHlch(41.86, 92.05, 311.95°)
OKLaboklab(52.65% 0.1145 -0.1955)
OKLCHoklch(52.65% 0.227 300.3)
XYZxyz(22.8608, 12.4125, 64.7967)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337D6 #8AD637
analogous
#373BD6 #8337D6 #D237D6
triadic
#8337D6 #D68337 #37D683
tetradic
#8337D6 #D6373B #8AD637 #37D6D2
square
#8337D6 #D6373B #8AD637 #37D6D2
split-complementary
#8337D6 #D6D237 #3BD637
monochromatic
#47197A #6523AC #8337D6 #A26AE0 #C29DEB

Accessibility & contrast

On white

6.03
#8337D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8337D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337D6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337D6#FFFFFF#000000##FFFFFF
##8337D61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#706084
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8337d6;
/* rgb */ color: rgb(131, 55, 214);
/* oklch */ color: oklch(52.7% 0.227 300.3);
Tailwind
colors: {
  custom: {
    50: '#ae75e4',
    500: '#8337d6',
    950: '#000000',
  },
}
SCSS
$custom: #8337d6;
$custom-light: #ae75e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8337d6",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 214
  },
  "hsl": {
    "h": 268.679,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.22657,
    "h": 300.3
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#8337D6
secondary
#B6D792
accent
#E93F98
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8337D6

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

Preview Lab → · Contrast checker → · Palette generator →

#8337D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva