#7154EB#7154EB

#7154EB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.216 H 286.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7154EB
RGBrgb(113, 84, 235)
HSLhsl(252, 79%, 63%)
HSVhsv(252, 64%, 92%)
CMYKcmyk(51.9%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.77, 49.66, -72.48)
CIE-LCHlch(46.77, 87.86, 304.41°)
OKLaboklab(56.24% 0.0595 -0.208)
OKLCHoklch(56.24% 0.216 286)
XYZxyz(24.9713, 15.8482, 80.3244)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154EB #CEEB54
analogous
#5483EB #7154EB #BC54EB
triadic
#7154EB #EB7154 #54EB71
tetradic
#7154EB #EB5483 #CEEB54 #54EBBC
square
#7154EB #EB5483 #CEEB54 #54EBBC
split-complementary
#7154EB #EBBC54 #83EB54
monochromatic
#3215B0 #431DE5 #7154EB #9E8BF1 #CCC2F8

Accessibility & contrast

On white

5.04
#7154EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7154EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154EB#FFFFFF#000000##FFFFFF
##7154EB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#407998
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7154eb;
/* rgb */ color: rgb(113, 84, 235);
/* oklch */ color: oklch(56.2% 0.216 286.0);
Tailwind
colors: {
  custom: {
    50: '#a486f2',
    500: '#7154eb',
    950: '#000000',
  },
}
SCSS
$custom: #7154eb;
$custom-light: #a486f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7154eb",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 251.523,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.21636,
    "h": 286
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#7154EB
secondary
#DEE9B2
accent
#DB0AB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154EB

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

Preview Lab → · Contrast checker → · Palette generator →

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