#8337CD#8337CD

#8337CD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.217 H 302.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8337CD
RGBrgb(131, 55, 205)
HSLhsl(270, 60%, 51%)
HSVhsv(270, 73%, 80%)
CMYKcmyk(36.1%, 73.2%, 0%, 19.6%)
CIE-LABlab(41.16, 59.41, -64.42)
CIE-LCHlch(41.16, 87.63, 312.69°)
OKLaboklab(51.94% 0.1164 -0.1836)
OKLCHoklch(51.94% 0.217 302.4)
XYZxyz(21.7431, 11.9654, 58.9098)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337CD #81CD37
analogous
#3837CD #8337CD #CD37CC
triadic
#8337CD #CD8337 #37CD83
tetradic
#8337CD #CD3837 #81CD37 #37CCCD
square
#8337CD #CD3837 #81CD37 #37CCCD
split-complementary
#8337CD #CCCD37 #37CD38
monochromatic
#451C6E #64289F #8337CD #A168D9 #C099E5

Accessibility & contrast

On white

6.19
#8337CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8337CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337CD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337CD#FFFFFF#000000##FFFFFF
##8337CD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#735C7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8337cd;
/* rgb */ color: rgb(131, 55, 205);
/* oklch */ color: oklch(51.9% 0.217 302.4);
Tailwind
colors: {
  custom: {
    50: '#ad75dd',
    500: '#8337cd',
    950: '#000000',
  },
}
SCSS
$custom: #8337cd;
$custom-light: #ad75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8337cd",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 270.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.21743,
    "h": 302.4
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#8337CD
secondary
#AFD18F
accent
#E34593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8337CD

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

Preview Lab → · Contrast checker → · Palette generator →

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