#8150CB#8150CB

#8150CB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.183 H 298.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8150CB
RGBrgb(129, 80, 203)
HSLhsl(264, 54%, 55%)
HSVhsv(264, 61%, 80%)
CMYKcmyk(36.5%, 60.6%, 0%, 20.4%)
CIE-LABlab(45.24, 46.23, -56.66)
CIE-LCHlch(45.24, 73.13, 309.21°)
OKLaboklab(54.77% 0.0875 -0.161)
OKLCHoklch(54.77% 0.183 298.5)
XYZxyz(22.6987, 14.7160, 58.1329)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150CB #9ACB50
analogous
#505DCB #8150CB #BE50CB
triadic
#8150CB #CB8150 #50CB81
tetradic
#8150CB #CB505D #9ACB50 #50CBBE
square
#8150CB #CB505D #9ACB50 #50CBBE
split-complementary
#8150CB #CBBE50 #5DCB50
monochromatic
#47257C #6333AB #8150CB #A37FD9 #C5AEE7

Accessibility & contrast

On white

5.33
#8150CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8150CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150CB#FFFFFF#000000##FFFFFF
##8150CB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8150cb;
/* rgb */ color: rgb(129, 80, 203);
/* oklch */ color: oklch(54.8% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa83dc',
    500: '#8150cb',
    950: '#000000',
  },
}
SCSS
$custom: #8150cb;
$custom-light: #aa83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8150cb",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 263.902,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.18322,
    "h": 298.5
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8150CB

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

Preview Lab → · Contrast checker → · Palette generator →

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