#8150D6#8150D6

#8150D6 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.196 H 296.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8150D6
RGBrgb(129, 80, 214)
HSLhsl(262, 62%, 58%)
HSVhsv(262, 63%, 84%)
CMYKcmyk(39.7%, 62.6%, 0%, 16.1%)
CIE-LABlab(45.99, 49.09, -61.77)
CIE-LCHlch(45.99, 78.90, 308.48°)
OKLaboklab(55.55% 0.0868 -0.176)
OKLCHoklch(55.55% 0.196 296.2)
XYZxyz(24.0564, 15.2590, 65.2831)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150D6 #A5D650
analogous
#5062D6 #8150D6 #C450D6
triadic
#8150D6 #D68150 #50D681
tetradic
#8150D6 #D65062 #A5D650 #50D6C4
square
#8150D6 #D65062 #A5D650 #50D6C4
split-complementary
#8150D6 #D6C450 #62D650
monochromatic
#47218B #612CBD #8150D6 #A582E2 #C8B3ED

Accessibility & contrast

On white

5.18
#8150D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8150D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150D6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150D6#FFFFFF#000000##FFFFFF
##8150D61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#6C6E8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8150d6;
/* rgb */ color: rgb(129, 80, 214);
/* oklch */ color: oklch(55.5% 0.196 296.2);
Tailwind
colors: {
  custom: {
    50: '#ab84e3',
    500: '#8150d6',
    950: '#000000',
  },
}
SCSS
$custom: #8150d6;
$custom-light: #ab84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8150d6",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 261.94,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.19627,
    "h": 296.2
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#8150D6
secondary
#C8DCA6
accent
#E543AA
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8150D6

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

Preview Lab → · Contrast checker → · Palette generator →

#8150D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva