#8337BE#8337BE

#8337BE is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.202 H 306.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8337BE
RGBrgb(131, 55, 190)
HSLhsl(274, 55%, 48%)
HSVhsv(274, 71%, 75%)
CMYKcmyk(31.1%, 71.1%, 0%, 25.5%)
CIE-LABlab(40.04, 55.93, -57.50)
CIE-LCHlch(40.04, 80.22, 314.21°)
OKLaboklab(50.8% 0.1191 -0.1633)
OKLCHoklch(50.8% 0.202 306.1)
XYZxyz(20.0185, 11.2756, 49.8270)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337BE #72BE37
analogous
#4037BE #8337BE #BE37B5
triadic
#8337BE #BE8337 #37BE83
tetradic
#8337BE #BE4037 #72BE37 #37B5BE
square
#8337BE #BE4037 #72BE37 #37B5BE
split-complementary
#8337BE #B5BE37 #37BE40
monochromatic
#421C5F #62298F #8337BE #A061D1 #BD90DF

Accessibility & contrast

On white

6.45
#8337BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8337BE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337BE#FFFFFF#000000##FFFFFF
##8337BE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#795677
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8337be;
/* rgb */ color: rgb(131, 55, 190);
/* oklch */ color: oklch(50.8% 0.202 306.1);
Tailwind
colors: {
  custom: {
    50: '#ac74d2',
    500: '#8337be',
    950: '#000000',
  },
}
SCSS
$custom: #8337be;
$custom-light: #ac74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8337be",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 273.778,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.20214,
    "h": 306.1
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#8337BE
secondary
#A4CA87
accent
#DE498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8337BE

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

Preview Lab → · Contrast checker → · Palette generator →

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