#8151E0#8151E0

#8151E0 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.207 H 294.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8151E0
RGBrgb(129, 81, 224)
HSLhsl(260, 70%, 60%)
HSVhsv(260, 64%, 88%)
CMYKcmyk(42.4%, 63.8%, 0%, 12.2%)
CIE-LABlab(46.89, 51.19, -66.01)
CIE-LCHlch(46.89, 83.54, 307.79°)
OKLaboklab(56.42% 0.0848 -0.1885)
OKLCHoklch(56.42% 0.207 294.2)
XYZxyz(25.4466, 15.9331, 72.2412)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151E0 #B0E051
analogous
#5169E0 #8151E0 #C951E0
triadic
#8151E0 #E08151 #51E081
tetradic
#8151E0 #E05169 #B0E051 #51E0C9
square
#8151E0 #E05169 #B0E051 #51E0C9
split-complementary
#8151E0 #E0C951 #69E051
monochromatic
#461C9B #5E25CF #8151E0 #A785E9 #CCB9F3

Accessibility & contrast

On white

5.02
#8151E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8151E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151E0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151E0#FFFFFF#000000##FFFFFF
##8151E01.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#677291
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8151e0;
/* rgb */ color: rgb(129, 81, 224);
/* oklch */ color: oklch(56.4% 0.207 294.2);
Tailwind
colors: {
  custom: {
    50: '#ac84eb',
    500: '#8151e0',
    950: '#000000',
  },
}
SCSS
$custom: #8151e0;
$custom-light: #ac84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8151e0",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 260.14,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.20671,
    "h": 294.2
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#8151E0
secondary
#CFE2AB
accent
#ED3BB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8151E0

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

Preview Lab → · Contrast checker → · Palette generator →

#8151E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva