#7154EF#7154EF

#7154EF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.221 H 285.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7154EF
RGBrgb(113, 84, 239)
HSLhsl(251, 83%, 63%)
HSVhsv(251, 65%, 94%)
CMYKcmyk(52.7%, 64.9%, 0%, 6.3%)
CIE-LABlab(47.08, 50.81, -74.23)
CIE-LCHlch(47.08, 89.96, 304.39°)
OKLaboklab(56.55% 0.059 -0.2132)
OKLCHoklch(56.55% 0.221 285.5)
XYZxyz(25.5557, 16.0820, 83.4022)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154EF #D2EF54
analogous
#5484EF #7154EF #BF54EF
triadic
#7154EF #EF7154 #54EF71
tetradic
#7154EF #EF5484 #D2EF54 #54EFBF
square
#7154EF #EF5484 #D2EF54 #54EFBF
split-complementary
#7154EF #EFBF54 #84EF54
monochromatic
#3011B7 #431CEA #7154EF #9F8CF4 #CEC4F9

Accessibility & contrast

On white

4.98
#7154EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7154EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154EF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154EF#FFFFFF#000000##FFFFFF
##7154EF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#3D7B9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7154ef;
/* rgb */ color: rgb(113, 84, 239);
/* oklch */ color: oklch(56.6% 0.221 285.5);
Tailwind
colors: {
  custom: {
    50: '#a486f5',
    500: '#7154ef',
    950: '#000000',
  },
}
SCSS
$custom: #7154ef;
$custom-light: #a486f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ef",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 251.226,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56552,
    "c": 0.22119,
    "h": 285.5
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#7154EF
secondary
#E1EBB4
accent
#DF06B7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154EF

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

Preview Lab → · Contrast checker → · Palette generator →

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