#8151DF#8151DF

#8151DF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.206 H 294.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8151DF
RGBrgb(129, 81, 223)
HSLhsl(260, 69%, 60%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.2%, 63.7%, 0%, 12.5%)
CIE-LABlab(46.82, 50.93, -65.56)
CIE-LCHlch(46.82, 83.02, 307.84°)
OKLaboklab(56.35% 0.0849 -0.1872)
OKLCHoklch(56.35% 0.206 294.4)
XYZxyz(25.3114, 15.8791, 71.5291)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151DF #AFDF51
analogous
#5168DF #8151DF #C851DF
triadic
#8151DF #DF8151 #51DF81
tetradic
#8151DF #DF5168 #AFDF51 #51DFC8
square
#8151DF #DF5168 #AFDF51 #51DFC8
split-complementary
#8151DF #DFC851 #68DF51
monochromatic
#471C99 #5E26CD #8151DF #A685E9 #CCB8F2

Accessibility & contrast

On white

5.03
#8151DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8151DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151DF#FFFFFF#000000##FFFFFF
##8151DF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#687291
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8151df;
/* rgb */ color: rgb(129, 81, 223);
/* oklch */ color: oklch(56.3% 0.206 294.4);
Tailwind
colors: {
  custom: {
    50: '#ac84ea',
    500: '#8151df',
    950: '#000000',
  },
}
SCSS
$custom: #8151df;
$custom-light: #ac84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8151df",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 260.282,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.20554,
    "h": 294.4
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#8151DF
secondary
#CFE1AA
accent
#EC3CB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8151DF

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

Preview Lab → · Contrast checker → · Palette generator →

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