#7154E8#7154E8

#7154E8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.213 H 286.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7154E8
RGBrgb(113, 84, 232)
HSLhsl(252, 76%, 62%)
HSVhsv(252, 64%, 91%)
CMYKcmyk(51.3%, 63.8%, 0%, 9%)
CIE-LABlab(46.55, 48.79, -71.16)
CIE-LCHlch(46.55, 86.28, 304.44°)
OKLaboklab(56% 0.0598 -0.2041)
OKLCHoklch(56% 0.213 286.3)
XYZxyz(24.5415, 15.6763, 78.0610)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154E8 #CBE854
analogous
#5481E8 #7154E8 #BB54E8
triadic
#7154E8 #E87154 #54E871
tetradic
#7154E8 #E85481 #CBE854 #54E8BB
square
#7154E8 #E85481 #CBE854 #54E8BB
split-complementary
#7154E8 #E8BB54 #81E854
monochromatic
#3417AB #441EE1 #7154E8 #9E8AEF #CBC0F7

Accessibility & contrast

On white

5.08
#7154E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7154E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154E8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154E8#FFFFFF#000000##FFFFFF
##7154E81.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#437897
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7154e8;
/* rgb */ color: rgb(113, 84, 232);
/* oklch */ color: oklch(56.0% 0.213 286.3);
Tailwind
colors: {
  custom: {
    50: '#a386f0',
    500: '#7154e8',
    950: '#000000',
  },
}
SCSS
$custom: #7154e8;
$custom-light: #a386f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7154e8",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 251.757,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.21272,
    "h": 286.3
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#7154E8
secondary
#DCE7B1
accent
#D80DB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154E8

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

Preview Lab → · Contrast checker → · Palette generator →

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