#7154E7#7154E7

#7154E7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.211 H 286.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7154E7
RGBrgb(113, 84, 231)
HSLhsl(252, 75%, 62%)
HSVhsv(252, 64%, 91%)
CMYKcmyk(51.1%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.47, 48.50, -70.72)
CIE-LCHlch(46.47, 85.75, 304.44°)
OKLaboklab(55.92% 0.0599 -0.2028)
OKLCHoklch(55.92% 0.212 286.4)
XYZxyz(24.3999, 15.6197, 77.3150)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154E7 #CAE754
analogous
#5481E7 #7154E7 #BB54E7
triadic
#7154E7 #E77154 #54E771
tetradic
#7154E7 #E75481 #CAE754 #54E7BB
square
#7154E7 #E75481 #CAE754 #54E7BB
split-complementary
#7154E7 #E7BB54 #81E754
monochromatic
#3418A9 #451FDF #7154E7 #9E8AEF #CABFF6

Accessibility & contrast

On white

5.09
#7154E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7154E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154E7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154E7#FFFFFF#000000##FFFFFF
##7154E71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#447896
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7154e7;
/* rgb */ color: rgb(113, 84, 231);
/* oklch */ color: oklch(55.9% 0.211 286.4);
Tailwind
colors: {
  custom: {
    50: '#a386f0',
    500: '#7154e7',
    950: '#000000',
  },
}
SCSS
$custom: #7154e7;
$custom-light: #a386f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7154e7",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 251.837,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.2115,
    "h": 286.4
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#7154E7
secondary
#DCE7B0
accent
#D80EB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154E7

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

Preview Lab → · Contrast checker → · Palette generator →

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