#8151EE#8151EE

#8151EE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.223 H 291.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8151EE
RGBrgb(129, 81, 238)
HSLhsl(258, 82%, 63%)
HSVhsv(258, 66%, 93%)
CMYKcmyk(45.8%, 66%, 0%, 6.7%)
CIE-LABlab(47.91, 54.92, -72.26)
CIE-LCHlch(47.91, 90.76, 307.24°)
OKLaboklab(57.48% 0.0832 -0.2069)
OKLCHoklch(57.48% 0.223 291.9)
XYZxyz(27.4240, 16.7241, 82.6555)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151EE #BEEE51
analogous
#516FEE #8151EE #D051EE
triadic
#8151EE #EE8151 #51EE81
tetradic
#8151EE #EE516F #BEEE51 #51EED0
square
#8151EE #EE516F #BEEE51 #51EED0
split-complementary
#8151EE #EED051 #6FEE51
monochromatic
#4311B3 #5919E9 #8151EE #A989F3 #D2C1F9

Accessibility & contrast

On white

4.83
#8151EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8151EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151EE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151EE#FFFFFF#000000##FFFFFF
##8151EE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#607799
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8151ee;
/* rgb */ color: rgb(129, 81, 238);
/* oklch */ color: oklch(57.5% 0.223 291.9);
Tailwind
colors: {
  custom: {
    50: '#ae85f5',
    500: '#8151ee',
    950: '#000000',
  },
}
SCSS
$custom: #8151ee;
$custom-light: #ae85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8151ee",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 258.344,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.22297,
    "h": 291.9
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#8151EE
secondary
#D8EAB1
accent
#DF079D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8151EE

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

Preview Lab → · Contrast checker → · Palette generator →

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