#8148D2#8148D2

#8148D2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.202 H 298.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8148D2
RGBrgb(129, 72, 210)
HSLhsl(265, 61%, 55%)
HSVhsv(265, 66%, 82%)
CMYKcmyk(38.6%, 65.7%, 0%, 17.6%)
CIE-LABlab(44.17, 52.24, -62.43)
CIE-LCHlch(44.17, 81.40, 309.92°)
OKLaboklab(54.15% 0.0959 -0.1779)
OKLCHoklch(54.15% 0.202 298.3)
XYZxyz(23.0005, 13.9547, 62.4420)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148D2 #99D248
analogous
#4854D2 #8148D2 #C648D2
triadic
#8148D2 #D28148 #48D281
tetradic
#8148D2 #D24854 #99D248 #48D2C6
square
#8148D2 #D24854 #99D248 #48D2C6
split-complementary
#8148D2 #D2C648 #54D248
monochromatic
#472080 #632CB1 #8148D2 #A379DE #C5AAEA

Accessibility & contrast

On white

5.54
#8148D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8148D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148D2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148D2#FFFFFF#000000##FFFFFF
##8148D21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#6E6887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8148d2;
/* rgb */ color: rgb(129, 72, 210);
/* oklch */ color: oklch(54.1% 0.202 298.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ee1',
    500: '#8148d2',
    950: '#000000',
  },
}
SCSS
$custom: #8148d2;
$custom-light: #ab7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8148d2",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 264.783,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.20212,
    "h": 298.3
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#8148D2
secondary
#C0D89E
accent
#E444A2
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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