#7154AE#7154AE

#7154AE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.9% C 0.139 H 296.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7154AE
RGBrgb(113, 84, 174)
HSLhsl(259, 36%, 51%)
HSVhsv(259, 52%, 68%)
CMYKcmyk(35.1%, 51.7%, 0%, 31.8%)
CIE-LABlab(42.62, 32.40, -44.05)
CIE-LCHlch(42.62, 54.68, 306.34°)
OKLaboklab(51.87% 0.0609 -0.1245)
OKLCHoklch(51.87% 0.139 296.1)
XYZxyz(17.6184, 12.9071, 41.5993)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154AE #91AE54
analogous
#5464AE #7154AE #9E54AE
triadic
#7154AE #AE7154 #54AE71
tetradic
#7154AE #AE5464 #91AE54 #54AE9E
square
#7154AE #AE5464 #91AE54 #54AE9E
split-complementary
#7154AE #AE9E54 #64AE54
monochromatic
#3B2C5C #563F86 #7154AE #937EC2 #B6A7D5

Accessibility & contrast

On white

5.86
#7154AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7154AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154AE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154AE#FFFFFF#000000##FFFFFF
##7154AE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#3963AC
Tritanopia (blue-blind)
#636679
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7154ae;
/* rgb */ color: rgb(113, 84, 174);
/* oklch */ color: oklch(51.9% 0.139 296.1);
Tailwind
colors: {
  custom: {
    50: '#9d85c7',
    500: '#7154ae',
    950: '#000000',
  },
}
SCSS
$custom: #7154ae;
$custom-light: #9d85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ae",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 259.333,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.13859,
    "h": 296.1
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#7154AE
secondary
#B6C39B
accent
#CC5CA8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7154AE

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

Preview Lab → · Contrast checker → · Palette generator →

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