#8154CF#8154CF

#8154CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.182 H 296.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8154CF
RGBrgb(129, 84, 207)
HSLhsl(262, 56%, 57%)
HSVhsv(262, 59%, 81%)
CMYKcmyk(37.7%, 59.4%, 0%, 18.8%)
CIE-LABlab(46.33, 45.09, -57.21)
CIE-LCHlch(46.33, 72.84, 308.24°)
OKLaboklab(55.65% 0.0826 -0.1626)
OKLCHoklch(55.65% 0.182 296.9)
XYZxyz(23.4832, 15.5124, 60.7763)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154CF #A2CF54
analogous
#5465CF #8154CF #BE54CF
triadic
#8154CF #CF8154 #54CF81
tetradic
#8154CF #CF5465 #A2CF54 #54CFBE
square
#8154CF #CF5465 #A2CF54 #54CFBE
split-complementary
#8154CF #CFBE54 #65CF54
monochromatic
#482584 #6232B3 #8154CF #A484DC #C7B4EA

Accessibility & contrast

On white

5.12
#8154CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8154CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154CF#FFFFFF#000000##FFFFFF
##8154CF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#6E6E89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8154cf;
/* rgb */ color: rgb(129, 84, 207);
/* oklch */ color: oklch(55.6% 0.182 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa86de',
    500: '#8154cf',
    950: '#000000',
  },
}
SCSS
$custom: #8154cf;
$custom-light: #aa86de;
$custom-dark: #000000;
JSON
{
  "hex": "#8154cf",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 261.951,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.18239,
    "h": 296.9
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#8154CF
secondary
#C6D8A6
accent
#DF48A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154CF

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

Preview Lab → · Contrast checker → · Palette generator →

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