#7154D9#7154D9

#7154D9 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.194 H 288.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7154D9
RGBrgb(113, 84, 217)
HSLhsl(253, 64%, 59%)
HSVhsv(253, 61%, 85%)
CMYKcmyk(47.9%, 61.3%, 0%, 14.9%)
CIE-LABlab(45.44, 44.47, -64.44)
CIE-LCHlch(45.44, 78.30, 304.61°)
OKLaboklab(54.85% 0.061 -0.1844)
OKLCHoklch(54.85% 0.194 288.3)
XYZxyz(22.5011, 14.8602, 67.3149)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154D9 #BCD954
analogous
#547AD9 #7154D9 #B454D9
triadic
#7154D9 #D97154 #54D971
tetradic
#7154D9 #D9547A #BCD954 #54D9B4
square
#7154D9 #D9547A #BCD954 #54D9B4
split-complementary
#7154D9 #D9B454 #7AD954
monochromatic
#392092 #4D2CC4 #7154D9 #9B86E4 #C4B8EF

Accessibility & contrast

On white

5.29
#7154D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7154D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154D9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154D9#FFFFFF#000000##FFFFFF
##7154D91.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#4E738F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7154d9;
/* rgb */ color: rgb(113, 84, 217);
/* oklch */ color: oklch(54.8% 0.194 288.3);
Tailwind
colors: {
  custom: {
    50: '#a185e6',
    500: '#7154d9',
    950: '#000000',
  },
}
SCSS
$custom: #7154d9;
$custom-light: #a185e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7154d9",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 253.083,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.19424,
    "h": 288.3
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#7154D9
secondary
#D3DFAA
accent
#E741C3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154D9

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

Preview Lab → · Contrast checker → · Palette generator →

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