#7151EE#7151EE

#7151EE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.224 H 286.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7151EE
RGBrgb(113, 81, 238)
HSLhsl(252, 82%, 63%)
HSVhsv(252, 66%, 93%)
CMYKcmyk(52.5%, 66%, 0%, 6.7%)
CIE-LABlab(46.40, 52.16, -74.78)
CIE-LCHlch(46.40, 91.17, 304.89°)
OKLaboklab(56.04% 0.0619 -0.2148)
OKLCHoklch(56.04% 0.224 286.1)
XYZxyz(25.1805, 15.5673, 82.5503)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151EE #CEEE51
analogous
#5180EE #7151EE #BF51EE
triadic
#7151EE #EE7151 #51EE71
tetradic
#7151EE #EE5180 #CEEE51 #51EEBF
square
#7151EE #EE5180 #CEEE51 #51EEBF
split-complementary
#7151EE #EEBF51 #80EE51
monochromatic
#3211B3 #4319E9 #7151EE #9E89F3 #CCC1F9

Accessibility & contrast

On white

5.10
#7151EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7151EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151EE#FFFFFF#000000##FFFFFF
##7151EE1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#3E7999
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7151ee;
/* rgb */ color: rgb(113, 81, 238);
/* oklch */ color: oklch(56.0% 0.224 286.1);
Tailwind
colors: {
  custom: {
    50: '#a484f5',
    500: '#7151ee',
    950: '#000000',
  },
}
SCSS
$custom: #7151ee;
$custom-light: #a484f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7151ee",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 252.229,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.22351,
    "h": 286.1
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#7151EE
secondary
#DEEAB1
accent
#DF07B3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7151EE

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

Preview Lab → · Contrast checker → · Palette generator →

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