#8137D3#8137D3

#8137D3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.223 H 300.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8137D3
RGBrgb(129, 55, 211)
HSLhsl(268, 64%, 52%)
HSVhsv(268, 74%, 83%)
CMYKcmyk(38.9%, 73.9%, 0%, 17.3%)
CIE-LABlab(41.38, 60.48, -67.54)
CIE-LCHlch(41.38, 90.66, 311.85°)
OKLaboklab(52.18% 0.1124 -0.1929)
OKLCHoklch(52.18% 0.223 300.2)
XYZxyz(22.1744, 12.1024, 62.7831)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137D3 #89D337
analogous
#373BD3 #8137D3 #CF37D3
triadic
#8137D3 #D38137 #37D381
tetradic
#8137D3 #D3373B #89D337 #37D3CF
square
#8137D3 #D3373B #89D337 #37D3CF
split-complementary
#8137D3 #D3CF37 #3BD337
monochromatic
#451A76 #6325A8 #8137D3 #A169DE #C09BE9

Accessibility & contrast

On white

6.14
#8137D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8137D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137D3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137D3#FFFFFF#000000##FFFFFF
##8137D31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#6E5F83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8137d3;
/* rgb */ color: rgb(129, 55, 211);
/* oklch */ color: oklch(52.2% 0.223 300.2);
Tailwind
colors: {
  custom: {
    50: '#ac75e2',
    500: '#8137d3',
    950: '#000000',
  },
}
SCSS
$custom: #8137d3;
$custom-light: #ac75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8137d3",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 268.462,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.22322,
    "h": 300.2
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#8137D3
secondary
#B5D591
accent
#E74198
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #8137D3

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

Preview Lab → · Contrast checker → · Palette generator →

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