#8138C8#8138C8

#8138C8 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.211 H 302.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8138C8
RGBrgb(129, 56, 200)
HSLhsl(270, 57%, 50%)
HSVhsv(270, 72%, 78%)
CMYKcmyk(35.5%, 72%, 0%, 21.6%)
CIE-LABlab(40.68, 57.44, -62.31)
CIE-LCHlch(40.68, 84.74, 312.67°)
OKLaboklab(51.43% 0.1137 -0.1775)
OKLCHoklch(51.43% 0.211 302.6)
XYZxyz(20.8903, 11.6656, 55.7835)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138C8 #7FC838
analogous
#3938C8 #8138C8 #C838C7
triadic
#8138C8 #C88138 #38C881
tetradic
#8138C8 #C83938 #7FC838 #38C7C8
square
#8138C8 #C83938 #7FC838 #38C7C8
split-complementary
#8138C8 #C7C838 #38C839
monochromatic
#431D69 #622A99 #8138C8 #9F68D5 #BE98E3

Accessibility & contrast

On white

6.30
#8138C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8138C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138C8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138C8#FFFFFF#000000##FFFFFF
##8138C81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#725B7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8138c8;
/* rgb */ color: rgb(129, 56, 200);
/* oklch */ color: oklch(51.4% 0.211 302.6);
Tailwind
colors: {
  custom: {
    50: '#ab75da',
    500: '#8138c8',
    950: '#000000',
  },
}
SCSS
$custom: #8138c8;
$custom-light: #ab75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8138c8",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 270.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.2108,
    "h": 302.6
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#8138C8
secondary
#ADCE8E
accent
#E04893
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8138C8

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

Preview Lab → · Contrast checker → · Palette generator →

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