#7151E9#7151E9

#7151E9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.218 H 286.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7151E9
RGBrgb(113, 81, 233)
HSLhsl(253, 78%, 62%)
HSVhsv(253, 65%, 91%)
CMYKcmyk(51.5%, 65.2%, 0%, 8.6%)
CIE-LABlab(46.01, 50.73, -72.60)
CIE-LCHlch(46.01, 88.56, 304.94°)
OKLaboklab(55.64% 0.0625 -0.2084)
OKLCHoklch(55.64% 0.218 286.7)
XYZxyz(24.4561, 15.2775, 78.7352)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151E9 #C9E951
analogous
#517DE9 #7151E9 #BD51E9
triadic
#7151E9 #E97151 #51E971
tetradic
#7151E9 #E9517D #C9E951 #51E9BD
square
#7151E9 #E9517D #C9E951 #51E9BD
split-complementary
#7151E9 #E9BD51 #7DE951
monochromatic
#3516AA #461CE0 #7151E9 #9D87F0 #CABEF7

Accessibility & contrast

On white

5.18
#7151E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7151E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151E9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151E9#FFFFFF#000000##FFFFFF
##7151E91.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#437796
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7151e9;
/* rgb */ color: rgb(113, 81, 233);
/* oklch */ color: oklch(55.6% 0.218 286.7);
Tailwind
colors: {
  custom: {
    50: '#a484f1',
    500: '#7151e9',
    950: '#000000',
  },
}
SCSS
$custom: #7151e9;
$custom-light: #a484f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7151e9",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 252.632,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55635,
    "c": 0.21754,
    "h": 286.7
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#7151E9
secondary
#DBE7AF
accent
#DA0CAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7151E9

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

Preview Lab → · Contrast checker → · Palette generator →

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