#7154E5#7154E5

#7154E5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.8% C 0.209 H 286.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7154E5
RGBrgb(113, 84, 229)
HSLhsl(252, 74%, 61%)
HSVhsv(252, 63%, 90%)
CMYKcmyk(50.7%, 63.3%, 0%, 10.2%)
CIE-LABlab(46.32, 47.92, -69.83)
CIE-LCHlch(46.32, 84.70, 304.46°)
OKLaboklab(55.76% 0.0601 -0.2002)
OKLCHoklch(55.76% 0.209 286.7)
XYZxyz(24.1191, 15.5073, 75.8359)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154E5 #C8E554
analogous
#5480E5 #7154E5 #BA54E5
triadic
#7154E5 #E57154 #54E571
tetradic
#7154E5 #E55480 #C8E554 #54E5BA
square
#7154E5 #E55480 #C8E554 #54E5BA
split-complementary
#7154E5 #E5BA54 #80E554
monochromatic
#3519A5 #4621DB #7154E5 #9D89ED #C9BEF5

Accessibility & contrast

On white

5.12
#7154E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7154E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154E5#FFFFFF#000000##FFFFFF
##7154E51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#467795
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7154e5;
/* rgb */ color: rgb(113, 84, 229);
/* oklch */ color: oklch(55.8% 0.209 286.7);
Tailwind
colors: {
  custom: {
    50: '#a386ee',
    500: '#7154e5',
    950: '#000000',
  },
}
SCSS
$custom: #7154e5;
$custom-light: #a386ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7154e5",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 252,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.20906,
    "h": 286.7
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#7154E5
secondary
#DBE6AF
accent
#D610AE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7154E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva