#7154ED#7154ED

#7154ED is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.219 H 285.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7154ED
RGBrgb(113, 84, 237)
HSLhsl(251, 81%, 63%)
HSVhsv(251, 65%, 93%)
CMYKcmyk(52.3%, 64.6%, 0%, 7.1%)
CIE-LABlab(46.93, 50.23, -73.36)
CIE-LCHlch(46.93, 88.91, 304.40°)
OKLaboklab(56.39% 0.0593 -0.2106)
OKLCHoklch(56.39% 0.219 285.7)
XYZxyz(25.2619, 15.9644, 81.8547)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154ED #D0ED54
analogous
#5483ED #7154ED #BE54ED
triadic
#7154ED #ED7154 #54ED71
tetradic
#7154ED #ED5483 #D0ED54 #54EDBE
square
#7154ED #ED5483 #D0ED54 #54EDBE
split-complementary
#7154ED #EDBE54 #83ED54
monochromatic
#3113B4 #431DE7 #7154ED #9F8BF3 #CDC3F9

Accessibility & contrast

On white

5.01
#7154ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7154ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154ED
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154ED#FFFFFF#000000##FFFFFF
##7154ED1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#3F7A99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7154ed;
/* rgb */ color: rgb(113, 84, 237);
/* oklch */ color: oklch(56.4% 0.219 285.7);
Tailwind
colors: {
  custom: {
    50: '#a486f4',
    500: '#7154ed',
    950: '#000000',
  },
}
SCSS
$custom: #7154ed;
$custom-light: #a486f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ed",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 251.373,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.21878,
    "h": 285.7
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#7154ED
secondary
#DFEAB3
accent
#DD08B5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7154ED

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

Preview Lab → · Contrast checker → · Palette generator →

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