#8337AF#8337AF

#8337AF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.187 H 310.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8337AF
RGBrgb(131, 55, 175)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 69%, 69%)
CMYKcmyk(25.1%, 68.6%, 0%, 31.4%)
CIE-LABlab(38.99, 52.54, -50.35)
CIE-LCHlch(38.99, 72.78, 316.22°)
OKLaboklab(49.71% 0.121 -0.1423)
OKLCHoklch(49.71% 0.187 310.4)
XYZxyz(18.4626, 10.6532, 41.6328)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337AF #63AF37
analogous
#4737AF #8337AF #AF379F
triadic
#8337AF #AF8337 #37AF83
tetradic
#8337AF #AF4737 #63AF37 #379FAF
square
#8337AF #AF4737 #63AF37 #379FAF
split-complementary
#8337AF #9FAF37 #37AF47
monochromatic
#3D1A52 #602880 #8337AF #A159CB #BB87D9

Accessibility & contrast

On white

6.71
#8337AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8337AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337AF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337AF#FFFFFF#000000##FFFFFF
##8337AF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#7D506F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8337af;
/* rgb */ color: rgb(131, 55, 175);
/* oklch */ color: oklch(49.7% 0.187 310.4);
Tailwind
colors: {
  custom: {
    50: '#ab74c8',
    500: '#8337af',
    950: '#000000',
  },
}
SCSS
$custom: #8337af;
$custom-light: #ab74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8337af",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 278,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.18682,
    "h": 310.4
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#8337AF
secondary
#98C37F
accent
#DC4C81
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8337AF

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

Preview Lab → · Contrast checker → · Palette generator →

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