#7159A5#7159A5

#7159A5 is a mid, moderate violet. Relative luminance 0.134; OKLCH L 52.2% C 0.118 H 296.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7159A5
RGBrgb(113, 89, 165)
HSLhsl(259, 30%, 50%)
HSVhsv(259, 46%, 65%)
CMYKcmyk(31.5%, 46.1%, 0%, 35.3%)
CIE-LABlab(43.32, 26.98, -37.63)
CIE-LCHlch(43.32, 46.30, 305.64°)
OKLaboklab(52.23% 0.0531 -0.1057)
OKLCHoklch(52.23% 0.118 296.7)
XYZxyz(17.1723, 13.3719, 37.2663)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159A5 #8DA559
analogous
#5967A5 #7159A5 #9759A5
triadic
#7159A5 #A57159 #59A571
tetradic
#7159A5 #A55967 #8DA559 #59A597
square
#7159A5 #A55967 #8DA559 #59A597
split-complementary
#7159A5 #A59759 #67A559
monochromatic
#3B2E55 #56447D #7159A5 #9380BB #B5A8D0

Accessibility & contrast

On white

5.72
#7159A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7159A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159A5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159A5#FFFFFF#000000##FFFFFF
##7159A51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A8
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#666777
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7159a5;
/* rgb */ color: rgb(113, 89, 165);
/* oklch */ color: oklch(52.2% 0.118 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c88c0',
    500: '#7159a5',
    950: '#000000',
  },
}
SCSS
$custom: #7159a5;
$custom-light: #9c88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7159a5",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 258.947,
    "s": 29.921,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.11826,
    "h": 296.7
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#7159A5
secondary
#B3BE9C
accent
#C662A6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #7159A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7159A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva