#8150CF#8150CF

#8150CF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.188 H 297.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8150CF
RGBrgb(129, 80, 207)
HSLhsl(263, 57%, 56%)
HSVhsv(263, 61%, 81%)
CMYKcmyk(37.7%, 61.4%, 0%, 18.8%)
CIE-LABlab(45.51, 47.27, -58.53)
CIE-LCHlch(45.51, 75.23, 308.92°)
OKLaboklab(55.05% 0.0873 -0.1665)
OKLCHoklch(55.05% 0.188 297.7)
XYZxyz(23.1816, 14.9091, 60.6758)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150CF #9ECF50
analogous
#505FCF #8150CF #C150CF
triadic
#8150CF #CF8150 #50CF81
tetradic
#8150CF #CF505F #9ECF50 #50CFC1
square
#8150CF #CF505F #9ECF50 #50CFC1
split-complementary
#8150CF #CFC150 #5FCF50
monochromatic
#482381 #6231B1 #8150CF #A480DC #C6B0E9

Accessibility & contrast

On white

5.27
#8150CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8150CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150CF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150CF#FFFFFF#000000##FFFFFF
##8150CF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#156ACC
Tritanopia (blue-blind)
#6F6C88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8150cf;
/* rgb */ color: rgb(129, 80, 207);
/* oklch */ color: oklch(55.1% 0.188 297.7);
Tailwind
colors: {
  custom: {
    50: '#ab83de',
    500: '#8150cf',
    950: '#000000',
  },
}
SCSS
$custom: #8150cf;
$custom-light: #ab83de;
$custom-dark: #000000;
JSON
{
  "hex": "#8150cf",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 263.15,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.18798,
    "h": 297.7
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#8150CF
secondary
#C3D8A3
accent
#E048A5
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8150CF

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

Preview Lab → · Contrast checker → · Palette generator →

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