#8148CB#8148CB

#8148CB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.194 H 299.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8148CB
RGBrgb(129, 72, 203)
HSLhsl(266, 56%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(36.5%, 64.5%, 0%, 20.4%)
CIE-LABlab(43.67, 50.47, -59.19)
CIE-LCHlch(43.67, 77.79, 310.45°)
OKLaboklab(53.63% 0.0966 -0.1684)
OKLCHoklch(53.63% 0.194 299.8)
XYZxyz(22.1475, 13.6135, 57.9492)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148CB #92CB48
analogous
#4851CB #8148CB #C348CB
triadic
#8148CB #CB8148 #48CB81
tetradic
#8148CB #CB4851 #92CB48 #48CBC3
square
#8148CB #CB4851 #92CB48 #48CBC3
split-complementary
#8148CB #CBC348 #51CB48
monochromatic
#472277 #632FA6 #8148CB #A278D9 #C3A7E6

Accessibility & contrast

On white

5.64
#8148CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8148CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148CB#FFFFFF#000000##FFFFFF
##8148CB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0166C8
Tritanopia (blue-blind)
#716583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8148cb;
/* rgb */ color: rgb(129, 72, 203);
/* oklch */ color: oklch(53.6% 0.194 299.8);
Tailwind
colors: {
  custom: {
    50: '#ab7edc',
    500: '#8148cb',
    950: '#000000',
  },
}
SCSS
$custom: #8148cb;
$custom-light: #ab7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8148cb",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 266.107,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.19418,
    "h": 299.8
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#8148CB
secondary
#BBD39B
accent
#DF499E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148CB

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

Preview Lab → · Contrast checker → · Palette generator →

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