#8150CC#8150CC

#8150CC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.184 H 298.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8150CC
RGBrgb(129, 80, 204)
HSLhsl(264, 55%, 56%)
HSVhsv(264, 61%, 80%)
CMYKcmyk(36.8%, 60.8%, 0%, 20%)
CIE-LABlab(45.31, 46.49, -57.13)
CIE-LCHlch(45.31, 73.66, 309.14°)
OKLaboklab(54.84% 0.0874 -0.1624)
OKLCHoklch(54.84% 0.184 298.3)
XYZxyz(22.8183, 14.7638, 58.7625)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150CC #9BCC50
analogous
#505DCC #8150CC #BF50CC
triadic
#8150CC #CC8150 #50CC81
tetradic
#8150CC #CC505D #9BCC50 #50CCBF
square
#8150CC #CC505D #9BCC50 #50CCBF
split-complementary
#8150CC #CCBF50 #5DCC50
monochromatic
#48247D #6332AD #8150CC #A37FDA #C5AFE8

Accessibility & contrast

On white

5.31
#8150CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8150CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150CC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150CC#FFFFFF#000000##FFFFFF
##8150CC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#1D6AC9
Tritanopia (blue-blind)
#706B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8150cc;
/* rgb */ color: rgb(129, 80, 204);
/* oklch */ color: oklch(54.8% 0.184 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa83dc',
    500: '#8150cc',
    950: '#000000',
  },
}
SCSS
$custom: #8150cc;
$custom-light: #aa83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8150cc",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 263.71,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.18441,
    "h": 298.3
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#8150CC
secondary
#C1D6A2
accent
#DE4AA3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8150CC

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

Preview Lab → · Contrast checker → · Palette generator →

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