#7154AA#7154AA

#7154AA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.6% C 0.133 H 297.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7154AA
RGBrgb(113, 84, 170)
HSLhsl(260, 34%, 50%)
HSVhsv(260, 51%, 67%)
CMYKcmyk(33.5%, 50.6%, 0%, 33.3%)
CIE-LABlab(42.39, 31.32, -42.06)
CIE-LCHlch(42.39, 52.44, 306.68°)
OKLaboklab(51.62% 0.0606 -0.1186)
OKLCHoklch(51.62% 0.133 297.1)
XYZxyz(17.2343, 12.7534, 39.5761)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154AA #8DAA54
analogous
#5462AA #7154AA #9C54AA
triadic
#7154AA #AA7154 #54AA71
tetradic
#7154AA #AA5462 #8DAA54 #54AA9C
square
#7154AA #AA5462 #8DAA54 #54AA9C
split-complementary
#7154AA #AA9C54 #62AA54
monochromatic
#3B2C58 #564081 #7154AA #937DBF #B5A6D3

Accessibility & contrast

On white

5.91
#7154AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7154AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7154AA#FFFFFF#000000##FFFFFF
##7154AA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#646577
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7154aa;
/* rgb */ color: rgb(113, 84, 170);
/* oklch */ color: oklch(51.6% 0.133 297.1);
Tailwind
colors: {
  custom: {
    50: '#9d85c4',
    500: '#7154aa',
    950: '#000000',
  },
}
SCSS
$custom: #7154aa;
$custom-light: #9d85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7154aa",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 260.233,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.13323,
    "h": 297.1
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#7154AA
secondary
#B3C099
accent
#CA5EA5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #7154AA

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

Preview Lab → · Contrast checker → · Palette generator →

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