#7154D4#7154D4

#7154D4 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.188 H 289.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7154D4
RGBrgb(113, 84, 212)
HSLhsl(254, 60%, 58%)
HSVhsv(254, 60%, 83%)
CMYKcmyk(46.7%, 60.4%, 0%, 16.9%)
CIE-LABlab(45.09, 43.04, -62.16)
CIE-LCHlch(45.09, 75.61, 304.70°)
OKLaboklab(54.48% 0.0613 -0.1777)
OKLCHoklch(54.48% 0.188 289)
XYZxyz(21.8606, 14.6040, 63.9416)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154D4 #B7D454
analogous
#5477D4 #7154D4 #B154D4
triadic
#7154D4 #D47154 #54D471
tetradic
#7154D4 #D45477 #B7D454 #54D4B1
square
#7154D4 #D45477 #B7D454 #54D4B1
split-complementary
#7154D4 #D4B154 #77D454
monochromatic
#3A238B #4F2FBC #7154D4 #9A85E0 #C2B6ED

Accessibility & contrast

On white

5.36
#7154D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7154D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154D4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154D4#FFFFFF#000000##FFFFFF
##7154D41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#51728C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7154d4;
/* rgb */ color: rgb(113, 84, 212);
/* oklch */ color: oklch(54.5% 0.188 289.0);
Tailwind
colors: {
  custom: {
    50: '#a185e2',
    500: '#7154d4',
    950: '#000000',
  },
}
SCSS
$custom: #7154d4;
$custom-light: #a185e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7154d4",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 253.594,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.18796,
    "h": 289
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#7154D4
secondary
#D0DBA8
accent
#E345BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7154D4

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

Preview Lab → · Contrast checker → · Palette generator →

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