#8148CD#8148CD

#8148CD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.196 H 299.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8148CD
RGBrgb(129, 72, 205)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(37.1%, 64.9%, 0%, 19.6%)
CIE-LABlab(43.81, 50.97, -60.12)
CIE-LCHlch(43.81, 78.82, 310.29°)
OKLaboklab(53.78% 0.0964 -0.1712)
OKLCHoklch(53.78% 0.196 299.4)
XYZxyz(22.3873, 13.7094, 59.2125)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148CD #94CD48
analogous
#4852CD #8148CD #C448CD
triadic
#8148CD #CD8148 #48CD81
tetradic
#8148CD #CD4852 #94CD48 #48CDC4
square
#8148CD #CD4852 #94CD48 #48CDC4
split-complementary
#8148CD #CDC448 #52CD48
monochromatic
#472179 #632EA9 #8148CD #A278DA #C3A8E7

Accessibility & contrast

On white

5.61
#8148CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8148CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148CD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148CD#FFFFFF#000000##FFFFFF
##8148CD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#706684
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8148cd;
/* rgb */ color: rgb(129, 72, 205);
/* oklch */ color: oklch(53.8% 0.196 299.4);
Tailwind
colors: {
  custom: {
    50: '#ab7edd',
    500: '#8148cd',
    950: '#000000',
  },
}
SCSS
$custom: #8148cd;
$custom-light: #ab7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8148cd",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 265.714,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.19645,
    "h": 299.4
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#8148CD
secondary
#BCD59C
accent
#E0479F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148CD

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

Preview Lab → · Contrast checker → · Palette generator →

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