#8150CA#8150CA

#8150CA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.182 H 298.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8150CA
RGBrgb(129, 80, 202)
HSLhsl(264, 54%, 55%)
HSVhsv(264, 60%, 79%)
CMYKcmyk(36.1%, 60.4%, 0%, 20.8%)
CIE-LABlab(45.18, 45.98, -56.19)
CIE-LCHlch(45.18, 72.60, 309.29°)
OKLaboklab(54.7% 0.0875 -0.1596)
OKLCHoklch(54.7% 0.182 298.7)
XYZxyz(22.5799, 14.6685, 57.5073)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150CA #99CA50
analogous
#505CCA #8150CA #BE50CA
triadic
#8150CA #CA8150 #50CA81
tetradic
#8150CA #CA505C #99CA50 #50CABE
square
#8150CA #CA505C #99CA50 #50CABE
split-complementary
#8150CA #CABE50 #5CCA50
monochromatic
#47257A #6333A9 #8150CA #A37FD8 #C5AEE6

Accessibility & contrast

On white

5.34
#8150CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8150CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150CA#FFFFFF#000000##FFFFFF
##8150CA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#716A85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8150ca;
/* rgb */ color: rgb(129, 80, 202);
/* oklch */ color: oklch(54.7% 0.182 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa83db',
    500: '#8150ca',
    950: '#000000',
  },
}
SCSS
$custom: #8150ca;
$custom-light: #aa83db;
$custom-dark: #000000;
JSON
{
  "hex": "#8150ca",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 264.098,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.18202,
    "h": 298.7
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#8150CA
secondary
#C0D4A1
accent
#DD4BA2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8150CA

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

Preview Lab → · Contrast checker → · Palette generator →

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