#8138C3#8138C3

#8138C3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.206 H 303.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8138C3
RGBrgb(129, 56, 195)
HSLhsl(272, 55%, 49%)
HSVhsv(272, 71%, 76%)
CMYKcmyk(33.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(40.30, 56.26, -60.01)
CIE-LCHlch(40.30, 82.25, 313.15°)
OKLaboklab(51.04% 0.1146 -0.1708)
OKLCHoklch(51.04% 0.206 303.9)
XYZxyz(20.3155, 11.4357, 52.7562)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138C3 #7AC338
analogous
#3C38C3 #8138C3 #C338C0
triadic
#8138C3 #C38138 #38C381
tetradic
#8138C3 #C33C38 #7AC338 #38C0C3
square
#8138C3 #C33C38 #7AC338 #38C0C3
split-complementary
#8138C3 #C0C338 #38C33C
monochromatic
#421D64 #622A93 #8138C3 #9F65D3 #BD95E1

Accessibility & contrast

On white

6.39
#8138C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8138C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138C3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138C3#FFFFFF#000000##FFFFFF
##8138C31.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#74597A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8138c3;
/* rgb */ color: rgb(129, 56, 195);
/* oklch */ color: oklch(51.0% 0.206 303.9);
Tailwind
colors: {
  custom: {
    50: '#ab75d6',
    500: '#8138c3',
    950: '#000000',
  },
}
SCSS
$custom: #8138c3;
$custom-light: #ab75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8138c3",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 271.511,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.20563,
    "h": 303.9
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#8138C3
secondary
#AACC8B
accent
#DF4990
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8138C3

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

Preview Lab → · Contrast checker → · Palette generator →

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