#7151E1#7151E1

#7151E1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.208 H 287.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7151E1
RGBrgb(113, 81, 225)
HSLhsl(253, 71%, 60%)
HSVhsv(253, 64%, 88%)
CMYKcmyk(49.8%, 64%, 0%, 11.8%)
CIE-LABlab(45.40, 48.44, -69.06)
CIE-LCHlch(45.40, 84.36, 305.05°)
OKLaboklab(55% 0.0634 -0.198)
OKLCHoklch(55% 0.208 287.8)
XYZxyz(23.3391, 14.8307, 72.8524)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151E1 #C1E151
analogous
#5179E1 #7151E1 #B951E1
triadic
#7151E1 #E17151 #51E171
tetradic
#7151E1 #E15179 #C1E151 #51E1B9
square
#7151E1 #E15179 #C1E151 #51E1B9
split-complementary
#7151E1 #E1B951 #79E151
monochromatic
#381B9D #4A24D1 #7151E1 #9C85EA #C6B9F3

Accessibility & contrast

On white

5.29
#7151E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7151E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151E1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151E1#FFFFFF#000000##FFFFFF
##7151E11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#497492
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7151e1;
/* rgb */ color: rgb(113, 81, 225);
/* oklch */ color: oklch(55.0% 0.208 287.8);
Tailwind
colors: {
  custom: {
    50: '#a384eb',
    500: '#7151e1',
    950: '#000000',
  },
}
SCSS
$custom: #7151e1;
$custom-light: #a384eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7151e1",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 253.333,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.20788,
    "h": 287.8
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#7151E1
secondary
#D6E3AB
accent
#ED3AC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7151E1

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

Preview Lab → · Contrast checker → · Palette generator →

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