#8138BF#8138BF

#8138BF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.201 H 304.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8138BF
RGBrgb(129, 56, 191)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(32.5%, 70.7%, 0%, 25.1%)
CIE-LABlab(40.01, 55.32, -58.15)
CIE-LCHlch(40.01, 80.26, 313.57°)
OKLaboklab(50.74% 0.1152 -0.1653)
OKLCHoklch(50.74% 0.201 304.9)
XYZxyz(19.8693, 11.2572, 50.4062)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138BF #76BF38
analogous
#3D38BF #8138BF #BF38B9
triadic
#8138BF #BF8138 #38BF81
tetradic
#8138BF #BF3D38 #76BF38 #38B9BF
square
#8138BF #BF3D38 #76BF38 #38B9BF
split-complementary
#8138BF #B9BF38 #38BF3D
monochromatic
#411C60 #612A90 #8138BF #9F63D1 #BC92DF

Accessibility & contrast

On white

6.46
#8138BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8138BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138BF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138BF#FFFFFF#000000##FFFFFF
##8138BF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#755878
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8138bf;
/* rgb */ color: rgb(129, 56, 191);
/* oklch */ color: oklch(50.7% 0.201 304.9);
Tailwind
colors: {
  custom: {
    50: '#ab75d3',
    500: '#8138bf',
    950: '#000000',
  },
}
SCSS
$custom: #8138bf;
$custom-light: #ab75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8138bf",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 272.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.20149,
    "h": 304.9
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#8138BF
secondary
#A7CA89
accent
#DE4A8E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8138BF

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

Preview Lab → · Contrast checker → · Palette generator →

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