#8337B3#8337B3

#8337B3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.191 H 309.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8337B3
RGBrgb(131, 55, 179)
HSLhsl(277, 53%, 46%)
HSVhsv(277, 69%, 70%)
CMYKcmyk(26.8%, 69.3%, 0%, 29.8%)
CIE-LABlab(39.26, 53.44, -52.28)
CIE-LCHlch(39.26, 74.76, 315.63°)
OKLaboklab(50% 0.1206 -0.148)
OKLCHoklch(50% 0.191 309.2)
XYZxyz(18.8613, 10.8127, 43.7325)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337B3 #67B337
analogous
#4537B3 #8337B3 #B337A5
triadic
#8337B3 #B38337 #37B383
tetradic
#8337B3 #B34537 #67B337 #37A5B3
square
#8337B3 #B34537 #67B337 #37A5B3
split-complementary
#8337B3 #A5B337 #37B345
monochromatic
#3E1A55 #612984 #8337B3 #A05BCD #BB8ADB

Accessibility & contrast

On white

6.64
#8337B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8337B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337B3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337B3#FFFFFF#000000##FFFFFF
##8337B31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#7C5271
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8337b3;
/* rgb */ color: rgb(131, 55, 179);
/* oklch */ color: oklch(50.0% 0.191 309.2);
Tailwind
colors: {
  custom: {
    50: '#ab74ca',
    500: '#8337b3',
    950: '#000000',
  },
}
SCSS
$custom: #8337b3;
$custom-light: #ab74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8337b3",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 276.774,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.1909,
    "h": 309.2
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#8337B3
secondary
#9BC581
accent
#DC4B84
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8337B3

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

Preview Lab → · Contrast checker → · Palette generator →

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