#8337BF#8337BF

#8337BF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.203 H 305.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8337BF
RGBrgb(131, 55, 191)
HSLhsl(274, 55%, 48%)
HSVhsv(274, 71%, 75%)
CMYKcmyk(31.4%, 71.2%, 0%, 25.1%)
CIE-LABlab(40.11, 56.16, -57.97)
CIE-LCHlch(40.11, 80.71, 314.09°)
OKLaboklab(50.87% 0.119 -0.1647)
OKLCHoklch(50.87% 0.203 305.8)
XYZxyz(20.1282, 11.3194, 50.4046)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337BF #73BF37
analogous
#3F37BF #8337BF #BF37B7
triadic
#8337BF #BF8337 #37BF83
tetradic
#8337BF #BF3F37 #73BF37 #37B7BF
square
#8337BF #BF3F37 #73BF37 #37B7BF
split-complementary
#8337BF #B7BF37 #37BF3F
monochromatic
#421C60 #62298F #8337BF #A062D2 #BD91DF

Accessibility & contrast

On white

6.43
#8337BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8337BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337BF#FFFFFF#000000##FFFFFF
##8337BF1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#785777
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8337bf;
/* rgb */ color: rgb(131, 55, 191);
/* oklch */ color: oklch(50.9% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#ac74d3',
    500: '#8337bf',
    950: '#000000',
  },
}
SCSS
$custom: #8337bf;
$custom-light: #ac74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8337bf",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 273.529,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.20315,
    "h": 305.8
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#8337BF
secondary
#A5CA88
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8337BF

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

Preview Lab → · Contrast checker → · Palette generator →

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