#8150D3#8150D3

#8150D3 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.193 H 296.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8150D3
RGBrgb(129, 80, 211)
HSLhsl(262, 60%, 57%)
HSVhsv(262, 62%, 83%)
CMYKcmyk(38.9%, 62.1%, 0%, 17.3%)
CIE-LABlab(45.78, 48.31, -60.39)
CIE-LCHlch(45.78, 77.33, 308.66°)
OKLaboklab(55.33% 0.087 -0.172)
OKLCHoklch(55.33% 0.193 296.8)
XYZxyz(23.6768, 15.1072, 63.2839)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150D3 #A2D350
analogous
#5061D3 #8150D3 #C350D3
triadic
#8150D3 #D38150 #50D381
tetradic
#8150D3 #D35061 #A2D350 #50D3C3
square
#8150D3 #D35061 #A2D350 #50D3C3
split-complementary
#8150D3 #D3C350 #61D350
monochromatic
#482287 #622EB8 #8150D3 #A481DF #C7B2EC

Accessibility & contrast

On white

5.22
#8150D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8150D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150D3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150D3#FFFFFF#000000##FFFFFF
##8150D31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#046BD0
Tritanopia (blue-blind)
#6D6D8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8150d3;
/* rgb */ color: rgb(129, 80, 211);
/* oklch */ color: oklch(55.3% 0.193 296.8);
Tailwind
colors: {
  custom: {
    50: '#ab83e1',
    500: '#8150d3',
    950: '#000000',
  },
}
SCSS
$custom: #8150d3;
$custom-light: #ab83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8150d3",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 262.443,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55334,
    "c": 0.19272,
    "h": 296.8
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#8150D3
secondary
#C6DAA5
accent
#E345A8
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8150D3

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

Preview Lab → · Contrast checker → · Palette generator →

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