#7154E4#7154E4

#7154E4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.7% C 0.208 H 286.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7154E4
RGBrgb(113, 84, 228)
HSLhsl(252, 73%, 61%)
HSVhsv(252, 63%, 89%)
CMYKcmyk(50.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.25, 47.64, -69.39)
CIE-LCHlch(46.25, 84.17, 304.47°)
OKLaboklab(55.69% 0.0602 -0.1989)
OKLCHoklch(55.69% 0.208 286.8)
XYZxyz(23.9798, 15.4516, 75.1027)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154E4 #C7E454
analogous
#547FE4 #7154E4 #B954E4
triadic
#7154E4 #E47154 #54E471
tetradic
#7154E4 #E4547F #C7E454 #54E4B9
square
#7154E4 #E4547F #C7E454 #54E4B9
split-complementary
#7154E4 #E4B954 #7FE454
monochromatic
#361AA4 #4722D9 #7154E4 #9D89EC #C9BEF5

Accessibility & contrast

On white

5.13
#7154E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7154E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154E4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154E4#FFFFFF#000000##FFFFFF
##7154E41.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#467794
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7154e4;
/* rgb */ color: rgb(113, 84, 228);
/* oklch */ color: oklch(55.7% 0.208 286.8);
Tailwind
colors: {
  custom: {
    50: '#a386ed',
    500: '#7154e4',
    950: '#000000',
  },
}
SCSS
$custom: #7154e4;
$custom-light: #a386ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7154e4",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 252.083,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.20784,
    "h": 286.8
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#7154E4
secondary
#DAE5AF
accent
#D511AD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154E4

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

Preview Lab → · Contrast checker → · Palette generator →

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