#8151F0#8151F0

#8151F0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.225 H 291.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8151F0
RGBrgb(129, 81, 240)
HSLhsl(258, 84%, 63%)
HSVhsv(258, 66%, 94%)
CMYKcmyk(46.3%, 66.3%, 0%, 5.9%)
CIE-LABlab(48.06, 55.45, -73.13)
CIE-LCHlch(48.06, 91.78, 307.17°)
OKLaboklab(57.64% 0.083 -0.2094)
OKLCHoklch(57.64% 0.225 291.6)
XYZxyz(27.7195, 16.8423, 84.2115)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151F0 #C0F051
analogous
#5170F0 #8151F0 #D051F0
triadic
#8151F0 #F08151 #51F081
tetradic
#8151F0 #F05170 #C0F051 #51F0D0
square
#8151F0 #F05170 #C0F051 #51F0D0
split-complementary
#8151F0 #F0D051 #70F051
monochromatic
#4210B7 #5819EB #8151F0 #AA89F5 #D3C2FA

Accessibility & contrast

On white

4.81
#8151F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8151F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151F0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151F0#FFFFFF#000000##FFFFFF
##8151F01.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#006FED
Tritanopia (blue-blind)
#5F789A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8151f0;
/* rgb */ color: rgb(129, 81, 240);
/* oklch */ color: oklch(57.6% 0.225 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae85f6',
    500: '#8151f0',
    950: '#000000',
  },
}
SCSS
$custom: #8151f0;
$custom-light: #ae85f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8151f0",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 258.113,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.22527,
    "h": 291.6
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#8151F0
secondary
#DAEBB2
accent
#E1059E
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8151F0

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

Preview Lab → · Contrast checker → · Palette generator →

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