#8148CF#8148CF

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

Color values

HEX#8148CF
RGBrgb(129, 72, 207)
HSLhsl(265, 58%, 55%)
HSVhsv(265, 65%, 81%)
CMYKcmyk(37.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(43.95, 51.48, -61.05)
CIE-LCHlch(43.95, 79.85, 310.14°)
OKLaboklab(53.93% 0.0962 -0.1739)
OKLCHoklch(53.93% 0.199 299)
XYZxyz(22.6303, 13.8066, 60.4920)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148CF #96CF48
analogous
#4853CF #8148CF #C448CF
triadic
#8148CF #CF8148 #48CF81
tetradic
#8148CF #CF4853 #96CF48 #48CFC4
square
#8148CF #CF4853 #96CF48 #48CFC4
split-complementary
#8148CF #CFC448 #53CF48
monochromatic
#47217C #632DAD #8148CF #A278DC #C4A9E8

Accessibility & contrast

On white

5.58
#8148CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8148CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148CF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148CF#FFFFFF#000000##FFFFFF
##8148CF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#6F6785
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8148cf;
/* rgb */ color: rgb(129, 72, 207);
/* oklch */ color: oklch(53.9% 0.199 299.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ede',
    500: '#8148cf',
    950: '#000000',
  },
}
SCSS
$custom: #8148cf;
$custom-light: #ab7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8148cf",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 265.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.19873,
    "h": 299
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#8148CF
secondary
#BED69D
accent
#E246A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148CF

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

Preview Lab → · Contrast checker → · Palette generator →

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