#8154D3#8154D3

#8154D3 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.187 H 296.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8154D3
RGBrgb(129, 84, 211)
HSLhsl(261, 59%, 58%)
HSVhsv(261, 60%, 83%)
CMYKcmyk(38.9%, 60.2%, 0%, 17.3%)
CIE-LABlab(46.59, 46.14, -59.08)
CIE-LCHlch(46.59, 74.96, 307.99°)
OKLaboklab(55.93% 0.0825 -0.1681)
OKLCHoklch(55.93% 0.187 296.1)
XYZxyz(23.9784, 15.7105, 63.3845)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154D3 #A6D354
analogous
#5466D3 #8154D3 #C154D3
triadic
#8154D3 #D38154 #54D381
tetradic
#8154D3 #D35466 #A6D354 #54D3C1
square
#8154D3 #D35466 #A6D354 #54D3C1
split-complementary
#8154D3 #D3C154 #66D354
monochromatic
#472389 #6130BA #8154D3 #A585E0 #C9B5EC

Accessibility & contrast

On white

5.07
#8154D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8154D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154D3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154D3#FFFFFF#000000##FFFFFF
##8154D31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#6D708C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8154d3;
/* rgb */ color: rgb(129, 84, 211);
/* oklch */ color: oklch(55.9% 0.187 296.1);
Tailwind
colors: {
  custom: {
    50: '#ab86e1',
    500: '#8154d3',
    950: '#000000',
  },
}
SCSS
$custom: #8154d3;
$custom-light: #ab86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8154d3",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 261.26,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.18724,
    "h": 296.1
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#8154D3
secondary
#C9DBA8
accent
#E246AB
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8154D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8154D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva