#8150D7#8150D7

#8150D7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.197 H 296.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8150D7
RGBrgb(129, 80, 215)
HSLhsl(262, 63%, 58%)
HSVhsv(262, 63%, 84%)
CMYKcmyk(40%, 62.8%, 0%, 15.7%)
CIE-LABlab(46.06, 49.35, -62.23)
CIE-LCHlch(46.06, 79.43, 308.42°)
OKLaboklab(55.62% 0.0867 -0.1774)
OKLCHoklch(55.62% 0.197 296.1)
XYZxyz(24.1845, 15.3103, 65.9578)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150D7 #A6D750
analogous
#5062D7 #8150D7 #C550D7
triadic
#8150D7 #D78150 #50D781
tetradic
#8150D7 #D75062 #A6D750 #50D7C5
square
#8150D7 #D75062 #A6D750 #50D7C5
split-complementary
#8150D7 #D7C550 #62D750
monochromatic
#47208C #612BBE #8150D7 #A582E2 #C9B4EE

Accessibility & contrast

On white

5.17
#8150D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8150D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150D7#FFFFFF#000000##FFFFFF
##8150D71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#6B6F8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8150d7;
/* rgb */ color: rgb(129, 80, 215);
/* oklch */ color: oklch(55.6% 0.197 296.1);
Tailwind
colors: {
  custom: {
    50: '#ab84e4',
    500: '#8150d7',
    950: '#000000',
  },
}
SCSS
$custom: #8150d7;
$custom-light: #ab84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8150d7",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 261.778,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.19744,
    "h": 296.1
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#8150D7
secondary
#C9DCA6
accent
#E642AA
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8150D7

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

Preview Lab → · Contrast checker → · Palette generator →

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