#7154AC#7154AC

#7154AC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.7% C 0.136 H 296.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7154AC
RGBrgb(113, 84, 172)
HSLhsl(260, 35%, 50%)
HSVhsv(260, 51%, 67%)
CMYKcmyk(34.3%, 51.2%, 0%, 32.5%)
CIE-LABlab(42.51, 31.86, -43.06)
CIE-LCHlch(42.51, 53.56, 306.50°)
OKLaboklab(51.75% 0.0608 -0.1216)
OKLCHoklch(51.75% 0.136 296.6)
XYZxyz(17.4249, 12.8297, 40.5801)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154AC #8FAC54
analogous
#5463AC #7154AC #9D54AC
triadic
#7154AC #AC7154 #54AC71
tetradic
#7154AC #AC5463 #8FAC54 #54AC9D
square
#7154AC #AC5463 #8FAC54 #54AC9D
split-complementary
#7154AC #AC9D54 #63AC54
monochromatic
#3B2C5A #564083 #7154AC #937DC0 #B5A6D4

Accessibility & contrast

On white

5.89
#7154AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7154AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154AC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154AC#FFFFFF#000000##FFFFFF
##7154AC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#646578
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7154ac;
/* rgb */ color: rgb(113, 84, 172);
/* oklch */ color: oklch(51.7% 0.136 296.6);
Tailwind
colors: {
  custom: {
    50: '#9d85c5',
    500: '#7154ac',
    950: '#000000',
  },
}
SCSS
$custom: #7154ac;
$custom-light: #9d85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ac",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 259.773,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.1359,
    "h": 296.6
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#7154AC
secondary
#B5C29A
accent
#CB5DA7
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7154AC

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

Preview Lab → · Contrast checker → · Palette generator →

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