#8150E6#8150E6

#8150E6 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.215 H 293.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8150E6
RGBrgb(129, 80, 230)
HSLhsl(260, 75%, 61%)
HSVhsv(260, 65%, 90%)
CMYKcmyk(43.9%, 65.2%, 0%, 9.8%)
CIE-LABlab(47.13, 53.31, -69.02)
CIE-LCHlch(47.13, 87.21, 307.68°)
OKLaboklab(56.73% 0.0852 -0.1973)
OKLCHoklch(56.73% 0.215 293.4)
XYZxyz(26.2009, 16.1169, 76.5780)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150E6 #B5E650
analogous
#506AE6 #8150E6 #CC50E6
triadic
#8150E6 #E68150 #50E681
tetradic
#8150E6 #E6506A #B5E650 #50E6CC
square
#8150E6 #E6506A #B5E650 #50E6CC
split-complementary
#8150E6 #E6CC50 #6AE650
monochromatic
#4517A4 #5C1FDA #8150E6 #A886EE #CEBBF5

Accessibility & contrast

On white

4.97
#8150E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8150E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150E6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150E6#FFFFFF#000000##FFFFFF
##8150E61.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#647494
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8150e6;
/* rgb */ color: rgb(129, 80, 230);
/* oklch */ color: oklch(56.7% 0.215 293.4);
Tailwind
colors: {
  custom: {
    50: '#ad84ef',
    500: '#8150e6',
    950: '#000000',
  },
}
SCSS
$custom: #8150e6;
$custom-light: #ad84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8150e6",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 259.6,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.21495,
    "h": 293.4
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#8150E6
secondary
#D3E5AC
accent
#D70E96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8150E6

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

Preview Lab → · Contrast checker → · Palette generator →

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