#8137CC#8137CC

#8137CC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.216 H 301.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8137CC
RGBrgb(129, 55, 204)
HSLhsl(270, 59%, 51%)
HSVhsv(270, 73%, 80%)
CMYKcmyk(36.8%, 73%, 0%, 20%)
CIE-LABlab(40.83, 58.82, -64.39)
CIE-LCHlch(40.83, 87.21, 312.41°)
OKLaboklab(51.63% 0.1138 -0.1836)
OKLCHoklch(51.63% 0.216 301.8)
XYZxyz(21.3159, 11.7590, 58.2618)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137CC #82CC37
analogous
#3737CC #8137CC #CC37CC
triadic
#8137CC #CC8137 #37CC81
tetradic
#8137CC #CC3737 #82CC37 #37CCCC
square
#8137CC #CC3737 #82CC37 #37CCCC
split-complementary
#8137CC #CCCC37 #37CC37
monochromatic
#441C6D #63289E #8137CC #A068D8 #BE99E5

Accessibility & contrast

On white

6.27
#8137CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8137CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137CC#FFFFFF#000000##FFFFFF
##8137CC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#715C7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8137cc;
/* rgb */ color: rgb(129, 55, 204);
/* oklch */ color: oklch(51.6% 0.216 301.8);
Tailwind
colors: {
  custom: {
    50: '#ac75dd',
    500: '#8137cc',
    950: '#000000',
  },
}
SCSS
$custom: #8137cc;
$custom-light: #ac75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8137cc",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 269.799,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.21605,
    "h": 301.8
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#8137CC
secondary
#B0D08E
accent
#E34594
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8137CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8137CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva