#7151E6#7151E6

#7151E6 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.214 H 287.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7151E6
RGBrgb(113, 81, 230)
HSLhsl(253, 75%, 61%)
HSVhsv(253, 65%, 90%)
CMYKcmyk(50.9%, 64.8%, 0%, 9.8%)
CIE-LABlab(45.78, 49.87, -71.28)
CIE-LCHlch(45.78, 86.99, 304.98°)
OKLaboklab(55.4% 0.0628 -0.2045)
OKLCHoklch(55.4% 0.214 287.1)
XYZxyz(24.0312, 15.1076, 76.4974)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151E6 #C6E651
analogous
#517BE6 #7151E6 #BB51E6
triadic
#7151E6 #E67151 #51E671
tetradic
#7151E6 #E6517B #C6E651 #51E6BB
square
#7151E6 #E6517B #C6E651 #51E6BB
split-complementary
#7151E6 #E6BB51 #7BE651
monochromatic
#3618A5 #481FDA #7151E6 #9D87EE #C8BCF5

Accessibility & contrast

On white

5.22
#7151E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7151E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151E6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151E6#FFFFFF#000000##FFFFFF
##7151E61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#457694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7151e6;
/* rgb */ color: rgb(113, 81, 230);
/* oklch */ color: oklch(55.4% 0.214 287.1);
Tailwind
colors: {
  custom: {
    50: '#a384ef',
    500: '#7151e6',
    950: '#000000',
  },
}
SCSS
$custom: #7151e6;
$custom-light: #a384ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7151e6",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 252.886,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.21393,
    "h": 287.1
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#7151E6
secondary
#D9E5AD
accent
#D70EAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7151E6

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

Preview Lab → · Contrast checker → · Palette generator →

#7151E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva