#8154D2#8154D2

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

Color values

HEX#8154D2
RGBrgb(129, 84, 210)
HSLhsl(261, 58%, 58%)
HSVhsv(261, 60%, 82%)
CMYKcmyk(38.6%, 60%, 0%, 17.6%)
CIE-LABlab(46.53, 45.88, -58.61)
CIE-LCHlch(46.53, 74.43, 308.05°)
OKLaboklab(55.86% 0.0825 -0.1667)
OKLCHoklch(55.86% 0.186 296.3)
XYZxyz(23.8534, 15.6605, 62.7263)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154D2 #A5D254
analogous
#5466D2 #8154D2 #C054D2
triadic
#8154D2 #D28154 #54D281
tetradic
#8154D2 #D25466 #A5D254 #54D2C0
square
#8154D2 #D25466 #A5D254 #54D2C0
split-complementary
#8154D2 #D2C054 #66D254
monochromatic
#482488 #6131B8 #8154D2 #A584DF #C8B5EB

Accessibility & contrast

On white

5.08
#8154D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8154D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154D2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154D2#FFFFFF#000000##FFFFFF
##8154D21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#196DCF
Tritanopia (blue-blind)
#6D6F8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8154d2;
/* rgb */ color: rgb(129, 84, 210);
/* oklch */ color: oklch(55.9% 0.186 296.3);
Tailwind
colors: {
  custom: {
    50: '#ab86e1',
    500: '#8154d2',
    950: '#000000',
  },
}
SCSS
$custom: #8154d2;
$custom-light: #ab86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8154d2",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 261.429,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.18603,
    "h": 296.3
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#8154D2
secondary
#C8DAA8
accent
#E246AA
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154D2

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

Preview Lab → · Contrast checker → · Palette generator →

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