#8148CE#8148CE

#8148CE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.198 H 299.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8148CE
RGBrgb(129, 72, 206)
HSLhsl(266, 58%, 55%)
HSVhsv(266, 65%, 81%)
CMYKcmyk(37.4%, 65%, 0%, 19.2%)
CIE-LABlab(43.88, 51.22, -60.58)
CIE-LCHlch(43.88, 79.34, 310.21°)
OKLaboklab(53.85% 0.0963 -0.1725)
OKLCHoklch(53.85% 0.198 299.2)
XYZxyz(22.5084, 13.7578, 59.8502)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148CE #95CE48
analogous
#4852CE #8148CE #C448CE
triadic
#8148CE #CE8148 #48CE81
tetradic
#8148CE #CE4852 #95CE48 #48CEC4
square
#8148CE #CE4852 #95CE48 #48CEC4
split-complementary
#8148CE #CEC448 #52CE48
monochromatic
#47217B #632EAB #8148CE #A278DB #C3A9E8

Accessibility & contrast

On white

5.60
#8148CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8148CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148CE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148CE#FFFFFF#000000##FFFFFF
##8148CE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#6F6685
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8148ce;
/* rgb */ color: rgb(129, 72, 206);
/* oklch */ color: oklch(53.9% 0.198 299.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ede',
    500: '#8148ce',
    950: '#000000',
  },
}
SCSS
$custom: #8148ce;
$custom-light: #ab7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8148ce",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 265.522,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.19759,
    "h": 299.2
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#8148CE
secondary
#BDD59D
accent
#E1479F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148CE

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

Preview Lab → · Contrast checker → · Palette generator →

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