#8148CC#8148CC

#8148CC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.195 H 299.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8148CC
RGBrgb(129, 72, 204)
HSLhsl(266, 56%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(36.8%, 64.7%, 0%, 20%)
CIE-LABlab(43.74, 50.72, -59.66)
CIE-LCHlch(43.74, 78.30, 310.37°)
OKLaboklab(53.71% 0.0965 -0.1698)
OKLCHoklch(53.71% 0.195 299.6)
XYZxyz(22.2670, 13.6613, 58.5788)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148CC #93CC48
analogous
#4851CC #8148CC #C348CC
triadic
#8148CC #CC8148 #48CC81
tetradic
#8148CC #CC4851 #93CC48 #48CCC3
square
#8148CC #CC4851 #93CC48 #48CCC3
split-complementary
#8148CC #CCC348 #51CC48
monochromatic
#472178 #632FA8 #8148CC #A278D9 #C3A8E7

Accessibility & contrast

On white

5.63
#8148CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8148CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148CC#FFFFFF#000000##FFFFFF
##8148CC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#706684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8148cc;
/* rgb */ color: rgb(129, 72, 204);
/* oklch */ color: oklch(53.7% 0.195 299.6);
Tailwind
colors: {
  custom: {
    50: '#ab7edc',
    500: '#8148cc',
    950: '#000000',
  },
}
SCSS
$custom: #8148cc;
$custom-light: #ab7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8148cc",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 265.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53707,
    "c": 0.19532,
    "h": 299.6
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#8148CC
secondary
#BCD49C
accent
#E0489E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148CC

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

Preview Lab → · Contrast checker → · Palette generator →

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