#8148D7#8148D7

#8148D7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.208 H 297.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8148D7
RGBrgb(129, 72, 215)
HSLhsl(264, 64%, 56%)
HSVhsv(264, 67%, 84%)
CMYKcmyk(40%, 66.5%, 0%, 15.7%)
CIE-LABlab(44.53, 53.51, -64.71)
CIE-LCHlch(44.53, 83.97, 309.59°)
OKLaboklab(54.52% 0.0953 -0.1846)
OKLCHoklch(54.52% 0.208 297.3)
XYZxyz(23.6332, 14.2077, 65.7740)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148D7 #9ED748
analogous
#4857D7 #8148D7 #C948D7
triadic
#8148D7 #D78148 #48D781
tetradic
#8148D7 #D74857 #9ED748 #48D7C9
square
#8148D7 #D74857 #9ED748 #48D7C9
split-complementary
#8148D7 #D7C948 #57D748
monochromatic
#481E87 #6229B9 #8148D7 #A47AE2 #C6ACED

Accessibility & contrast

On white

5.47
#8148D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8148D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148D7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148D7#FFFFFF#000000##FFFFFF
##8148D71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#6C6A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8148d7;
/* rgb */ color: rgb(129, 72, 215);
/* oklch */ color: oklch(54.5% 0.208 297.3);
Tailwind
colors: {
  custom: {
    50: '#ac7fe4',
    500: '#8148d7',
    950: '#000000',
  },
}
SCSS
$custom: #8148d7;
$custom-light: #ac7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8148d7",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 263.916,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.20777,
    "h": 297.3
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#8148D7
secondary
#C3DBA0
accent
#E741A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8148D7

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

Preview Lab → · Contrast checker → · Palette generator →

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