#8337BD#8337BD

#8337BD is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.201 H 306.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8337BD
RGBrgb(131, 55, 189)
HSLhsl(274, 55%, 48%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(30.7%, 70.9%, 0%, 25.9%)
CIE-LABlab(39.97, 55.70, -57.03)
CIE-LCHlch(39.97, 79.72, 314.32°)
OKLaboklab(50.72% 0.1193 -0.1619)
OKLCHoklch(50.72% 0.201 306.4)
XYZxyz(19.9096, 11.2320, 49.2534)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337BD #71BD37
analogous
#4037BD #8337BD #BD37B4
triadic
#8337BD #BD8337 #37BD83
tetradic
#8337BD #BD4037 #71BD37 #37B4BD
square
#8337BD #BD4037 #71BD37 #37B4BD
split-complementary
#8337BD #B4BD37 #37BD40
monochromatic
#411B5E #62298E #8337BD #A060D1 #BC90DF

Accessibility & contrast

On white

6.47
#8337BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8337BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337BD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337BD#FFFFFF#000000##FFFFFF
##8337BD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#015FBA
Tritanopia (blue-blind)
#795676
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8337bd;
/* rgb */ color: rgb(131, 55, 189);
/* oklch */ color: oklch(50.7% 0.201 306.4);
Tailwind
colors: {
  custom: {
    50: '#ac74d2',
    500: '#8337bd',
    950: '#000000',
  },
}
SCSS
$custom: #8337bd;
$custom-light: #ac74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8337bd",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 274.03,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.20112,
    "h": 306.4
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#8337BD
secondary
#A3C986
accent
#DE4A8A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8337BD

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

Preview Lab → · Contrast checker → · Palette generator →

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