#7154E9#7154E9

#7154E9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.214 H 286.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7154E9
RGBrgb(113, 84, 233)
HSLhsl(252, 77%, 62%)
HSVhsv(252, 64%, 91%)
CMYKcmyk(51.5%, 63.9%, 0%, 8.6%)
CIE-LABlab(46.62, 49.08, -71.60)
CIE-LCHlch(46.62, 86.81, 304.43°)
OKLaboklab(56.08% 0.0597 -0.2054)
OKLCHoklch(56.08% 0.214 286.2)
XYZxyz(24.6840, 15.7333, 78.8112)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154E9 #CCE954
analogous
#5482E9 #7154E9 #BC54E9
triadic
#7154E9 #E97154 #54E971
tetradic
#7154E9 #E95482 #CCE954 #54E9BC
square
#7154E9 #E95482 #CCE954 #54E9BC
split-complementary
#7154E9 #E9BC54 #82E954
monochromatic
#3316AC #441EE2 #7154E9 #9E8AF0 #CBC0F7

Accessibility & contrast

On white

5.06
#7154E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7154E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154E9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154E9#FFFFFF#000000##FFFFFF
##7154E91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#427997
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7154e9;
/* rgb */ color: rgb(113, 84, 233);
/* oklch */ color: oklch(56.1% 0.214 286.2);
Tailwind
colors: {
  custom: {
    50: '#a386f1',
    500: '#7154e9',
    950: '#000000',
  },
}
SCSS
$custom: #7154e9;
$custom-light: #a386f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7154e9",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 251.678,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.21393,
    "h": 286.2
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#7154E9
secondary
#DDE8B1
accent
#D90CB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154E9

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

Preview Lab → · Contrast checker → · Palette generator →

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