#8337C8#8337C8

#8337C8 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.212 H 303.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8337C8
RGBrgb(131, 55, 200)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 73%, 78%)
CMYKcmyk(34.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(40.78, 58.24, -62.14)
CIE-LCHlch(40.78, 85.17, 313.15°)
OKLaboklab(51.55% 0.1174 -0.1769)
OKLCHoklch(51.55% 0.212 303.6)
XYZxyz(21.1492, 11.7278, 55.7819)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337C8 #7CC837
analogous
#3A37C8 #8337C8 #C837C5
triadic
#8337C8 #C88337 #37C883
tetradic
#8337C8 #C83A37 #7CC837 #37C5C8
square
#8337C8 #C83A37 #7CC837 #37C5C8
split-complementary
#8337C8 #C5C837 #37C83A
monochromatic
#441D68 #642A98 #8337C8 #A167D5 #BF97E2

Accessibility & contrast

On white

6.28
#8337C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8337C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337C8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337C8#FFFFFF#000000##FFFFFF
##8337C81.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#755A7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8337c8;
/* rgb */ color: rgb(131, 55, 200);
/* oklch */ color: oklch(51.6% 0.212 303.6);
Tailwind
colors: {
  custom: {
    50: '#ad75da',
    500: '#8337c8',
    950: '#000000',
  },
}
SCSS
$custom: #8337c8;
$custom-light: #ad75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8337c8",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 271.448,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.21234,
    "h": 303.6
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#8337C8
secondary
#ACCE8D
accent
#E04890
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8337C8

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

Preview Lab → · Contrast checker → · Palette generator →

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