#7154EE#7154EE

#7154EE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.220 H 285.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7154EE
RGBrgb(113, 84, 238)
HSLhsl(251, 82%, 63%)
HSVhsv(251, 65%, 93%)
CMYKcmyk(52.5%, 64.7%, 0%, 6.7%)
CIE-LABlab(47.00, 50.52, -73.80)
CIE-LCHlch(47.00, 89.43, 304.40°)
OKLaboklab(56.47% 0.0591 -0.2119)
OKLCHoklch(56.47% 0.22 285.6)
XYZxyz(25.4084, 16.0230, 82.6263)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154EE #D1EE54
analogous
#5484EE #7154EE #BE54EE
triadic
#7154EE #EE7154 #54EE71
tetradic
#7154EE #EE5484 #D1EE54 #54EEBE
square
#7154EE #EE5484 #D1EE54 #54EEBE
split-complementary
#7154EE #EEBE54 #84EE54
monochromatic
#3112B6 #431CE8 #7154EE #9F8CF4 #CDC3F9

Accessibility & contrast

On white

4.99
#7154EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7154EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154EE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154EE#FFFFFF#000000##FFFFFF
##7154EE1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#3E7A9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7154ee;
/* rgb */ color: rgb(113, 84, 238);
/* oklch */ color: oklch(56.5% 0.220 285.6);
Tailwind
colors: {
  custom: {
    50: '#a486f5',
    500: '#7154ee',
    950: '#000000',
  },
}
SCSS
$custom: #7154ee;
$custom-light: #a486f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ee",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 251.299,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.21999,
    "h": 285.6
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#7154EE
secondary
#E0EAB3
accent
#DE07B6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154EE

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

Preview Lab → · Contrast checker → · Palette generator →

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