#8150C8#8150C8

#8150C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.180 H 299.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8150C8
RGBrgb(129, 80, 200)
HSLhsl(265, 52%, 55%)
HSVhsv(265, 60%, 78%)
CMYKcmyk(35.5%, 60%, 0%, 21.6%)
CIE-LABlab(45.05, 45.46, -55.24)
CIE-LCHlch(45.05, 71.55, 309.45°)
OKLaboklab(54.57% 0.0876 -0.1568)
OKLCHoklch(54.57% 0.18 299.2)
XYZxyz(22.3447, 14.5744, 56.2683)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150C8 #97C850
analogous
#505BC8 #8150C8 #BD50C8
triadic
#8150C8 #C88150 #50C881
tetradic
#8150C8 #C8505B #97C850 #50C8BD
square
#8150C8 #C8505B #97C850 #50C8BD
split-complementary
#8150C8 #C8BD50 #5BC850
monochromatic
#472678 #6334A6 #8150C8 #A37FD7 #C4ADE5

Accessibility & contrast

On white

5.36
#8150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8150C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150C8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150C8#FFFFFF#000000##FFFFFF
##8150C81.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#246AC5
Tritanopia (blue-blind)
#716A84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8150c8;
/* rgb */ color: rgb(129, 80, 200);
/* oklch */ color: oklch(54.6% 0.180 299.2);
Tailwind
colors: {
  custom: {
    50: '#aa83d9',
    500: '#8150c8',
    950: '#000000',
  },
}
SCSS
$custom: #8150c8;
$custom-light: #aa83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8150c8",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 264.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.17963,
    "h": 299.2
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#8150C8
secondary
#BFD3A1
accent
#DC4CA1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8150C8

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

Preview Lab → · Contrast checker → · Palette generator →

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