#8138BE#8138BE

#8138BE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.200 H 305.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8138BE
RGBrgb(129, 56, 190)
HSLhsl(273, 54%, 48%)
HSVhsv(273, 71%, 75%)
CMYKcmyk(32.1%, 70.5%, 0%, 25.5%)
CIE-LABlab(39.94, 55.09, -57.68)
CIE-LCHlch(39.94, 79.76, 313.68°)
OKLaboklab(50.67% 0.1154 -0.1639)
OKLCHoklch(50.67% 0.2 305.1)
XYZxyz(19.7596, 11.2133, 49.8286)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138BE #75BE38
analogous
#3E38BE #8138BE #BE38B8
triadic
#8138BE #BE8138 #38BE81
tetradic
#8138BE #BE3E38 #75BE38 #38B8BE
square
#8138BE #BE3E38 #75BE38 #38B8BE
split-complementary
#8138BE #B8BE38 #38BE3E
monochromatic
#411C5F #612A8F #8138BE #9F62D1 #BC92DF

Accessibility & contrast

On white

6.48
#8138BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8138BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138BE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138BE#FFFFFF#000000##FFFFFF
##8138BE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#765777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8138be;
/* rgb */ color: rgb(129, 56, 190);
/* oklch */ color: oklch(50.7% 0.200 305.1);
Tailwind
colors: {
  custom: {
    50: '#ab75d2',
    500: '#8138be',
    950: '#000000',
  },
}
SCSS
$custom: #8138be;
$custom-light: #ab75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8138be",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 272.687,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.20045,
    "h": 305.1
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#8138BE
secondary
#A6CA88
accent
#DE4A8D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8138BE

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

Preview Lab → · Contrast checker → · Palette generator →

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