#8337D9#8337D9

#8337D9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.230 H 299.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8337D9
RGBrgb(131, 55, 217)
HSLhsl(268, 68%, 53%)
HSVhsv(268, 75%, 85%)
CMYKcmyk(39.6%, 74.7%, 0%, 14.9%)
CIE-LABlab(42.10, 62.24, -69.79)
CIE-LCHlch(42.10, 93.52, 311.73°)
OKLaboklab(52.9% 0.1138 -0.1994)
OKLCHoklch(52.9% 0.23 299.7)
XYZxyz(23.2475, 12.5672, 66.8331)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337D9 #8DD937
analogous
#373CD9 #8337D9 #D437D9
triadic
#8337D9 #D98337 #37D983
tetradic
#8337D9 #D9373C #8DD937 #37D9D4
square
#8337D9 #D9373C #8DD937 #37D9D4
split-complementary
#8337D9 #D9D437 #3CD937
monochromatic
#48187E #6522B1 #8337D9 #A36AE3 #C39EED

Accessibility & contrast

On white

5.98
#8337D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8337D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337D9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337D9#FFFFFF#000000##FFFFFF
##8337D91.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)
#0063DE
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#6F6186
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8337d9;
/* rgb */ color: rgb(131, 55, 217);
/* oklch */ color: oklch(52.9% 0.230 299.7);
Tailwind
colors: {
  custom: {
    50: '#ae75e6',
    500: '#8337d9',
    950: '#000000',
  },
}
SCSS
$custom: #8337d9;
$custom-light: #ae75e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8337d9",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 268.148,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.2296,
    "h": 299.7
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#8337D9
secondary
#B8D993
accent
#EB3D99
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8337D9

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

Preview Lab → · Contrast checker → · Palette generator →

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