#8148E6#8148E6

#8148E6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.225 H 294.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8148E6
RGBrgb(129, 72, 230)
HSLhsl(262, 76%, 59%)
HSVhsv(262, 69%, 90%)
CMYKcmyk(43.9%, 68.7%, 0%, 9.8%)
CIE-LABlab(45.65, 57.36, -71.42)
CIE-LCHlch(45.65, 91.60, 308.77°)
OKLaboklab(55.68% 0.093 -0.2044)
OKLCHoklch(55.68% 0.225 294.5)
XYZxyz(25.6497, 15.0143, 76.3942)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148E6 #ADE648
analogous
#485EE6 #8148E6 #D048E6
triadic
#8148E6 #E68148 #48E681
tetradic
#8148E6 #E6485E #ADE648 #48E6D0
square
#8148E6 #E6485E #ADE648 #48E6D0
split-complementary
#8148E6 #E6D048 #5EE648
monochromatic
#47169E #5F1DD4 #8148E6 #A67EED #CBB4F5

Accessibility & contrast

On white

5.25
#8148E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8148E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148E6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148E6#FFFFFF#000000##FFFFFF
##8148E61.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#656F92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8148e6;
/* rgb */ color: rgb(129, 72, 230);
/* oklch */ color: oklch(55.7% 0.225 294.5);
Tailwind
colors: {
  custom: {
    50: '#ad7fef',
    500: '#8148e6',
    950: '#000000',
  },
}
SCSS
$custom: #8148e6;
$custom-light: #ad7fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8148e6",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 261.646,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.22455,
    "h": 294.5
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

primary
#8148E6
secondary
#CEE4A6
accent
#F335AE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8148E6

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

Preview Lab → · Contrast checker → · Palette generator →

#8148E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva