#8148E2#8148E2

#8148E2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.220 H 295.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8148E2
RGBrgb(129, 72, 226)
HSLhsl(262, 73%, 58%)
HSVhsv(262, 68%, 89%)
CMYKcmyk(42.9%, 68.1%, 0%, 11.4%)
CIE-LABlab(45.35, 56.33, -69.65)
CIE-LCHlch(45.35, 89.58, 308.97°)
OKLaboklab(55.36% 0.0937 -0.1992)
OKLCHoklch(55.36% 0.22 295.2)
XYZxyz(25.0944, 14.7922, 73.4698)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148E2 #A9E248
analogous
#485CE2 #8148E2 #CE48E2
triadic
#8148E2 #E28148 #48E281
tetradic
#8148E2 #E2485C #A9E248 #48E2CE
square
#8148E2 #E2485C #A9E248 #48E2CE
split-complementary
#8148E2 #E2CE48 #5CE248
monochromatic
#471898 #6020CC #8148E2 #A57DEA #CAB2F3

Accessibility & contrast

On white

5.30
#8148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8148E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148E2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148E2#FFFFFF#000000##FFFFFF
##8148E21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#676E90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8148e2;
/* rgb */ color: rgb(129, 72, 226);
/* oklch */ color: oklch(55.4% 0.220 295.2);
Tailwind
colors: {
  custom: {
    50: '#ad7fec',
    500: '#8148e2',
    950: '#000000',
  },
}
SCSS
$custom: #8148e2;
$custom-light: #ad7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8148e2",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 262.208,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.22011,
    "h": 295.2
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#8148E2
secondary
#CBE1A4
accent
#EF38AC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8148E2

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

Preview Lab → · Contrast checker → · Palette generator →

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