#8150D2#8150D2

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

Color values

HEX#8150D2
RGBrgb(129, 80, 210)
HSLhsl(263, 59%, 57%)
HSVhsv(263, 62%, 82%)
CMYKcmyk(38.6%, 61.9%, 0%, 17.6%)
CIE-LABlab(45.71, 48.05, -59.93)
CIE-LCHlch(45.71, 76.81, 308.72°)
OKLaboklab(55.26% 0.0871 -0.1706)
OKLCHoklch(55.26% 0.192 297)
XYZxyz(23.5518, 15.0572, 62.6258)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150D2 #A1D250
analogous
#5060D2 #8150D2 #C250D2
triadic
#8150D2 #D28150 #50D281
tetradic
#8150D2 #D25060 #A1D250 #50D2C2
square
#8150D2 #D25060 #A1D250 #50D2C2
split-complementary
#8150D2 #D2C250 #60D250
monochromatic
#482285 #622FB6 #8150D2 #A481DF #C7B1EB

Accessibility & contrast

On white

5.23
#8150D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8150D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150D2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150D2#FFFFFF#000000##FFFFFF
##8150D21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#096BCF
Tritanopia (blue-blind)
#6D6D8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8150d2;
/* rgb */ color: rgb(129, 80, 210);
/* oklch */ color: oklch(55.3% 0.192 297.0);
Tailwind
colors: {
  custom: {
    50: '#ab83e1',
    500: '#8150d2',
    950: '#000000',
  },
}
SCSS
$custom: #8150d2;
$custom-light: #ab83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8150d2",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 262.615,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.19154,
    "h": 297
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#8150D2
secondary
#C5D9A4
accent
#E246A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8150D2

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

Preview Lab → · Contrast checker → · Palette generator →

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