#8148CA#8148CA

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

Color values

HEX#8148CA
RGBrgb(129, 72, 202)
HSLhsl(266, 55%, 54%)
HSVhsv(266, 64%, 79%)
CMYKcmyk(36.1%, 64.4%, 0%, 20.8%)
CIE-LABlab(43.60, 50.22, -58.73)
CIE-LCHlch(43.60, 77.27, 310.53°)
OKLaboklab(53.56% 0.0967 -0.1671)
OKLCHoklch(53.56% 0.193 300.1)
XYZxyz(22.0287, 13.5659, 57.3236)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148CA #91CA48
analogous
#4850CA #8148CA #C248CA
triadic
#8148CA #CA8148 #48CA81
tetradic
#8148CA #CA4850 #91CA48 #48CAC2
square
#8148CA #CA4850 #91CA48 #48CAC2
split-complementary
#8148CA #CAC248 #50CA48
monochromatic
#472276 #6330A5 #8148CA #A277D8 #C2A7E5

Accessibility & contrast

On white

5.66
#8148CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8148CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148CA#FFFFFF#000000##FFFFFF
##8148CA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0666C7
Tritanopia (blue-blind)
#716583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8148ca;
/* rgb */ color: rgb(129, 72, 202);
/* oklch */ color: oklch(53.6% 0.193 300.1);
Tailwind
colors: {
  custom: {
    50: '#ab7edb',
    500: '#8148ca',
    950: '#000000',
  },
}
SCSS
$custom: #8148ca;
$custom-light: #ab7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8148ca",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 266.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.19303,
    "h": 300.1
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#8148CA
secondary
#BAD39B
accent
#DE499D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148CA

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

Preview Lab → · Contrast checker → · Palette generator →

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