#7159BE#7159BE

#7159BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.8% C 0.152 H 291.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7159BE
RGBrgb(113, 89, 190)
HSLhsl(254, 44%, 55%)
HSVhsv(254, 53%, 75%)
CMYKcmyk(40.5%, 53.2%, 0%, 25.5%)
CIE-LABlab(44.76, 33.86, -49.99)
CIE-LCHlch(44.76, 60.38, 304.11°)
OKLaboklab(53.77% 0.0555 -0.1419)
OKLCHoklch(53.77% 0.152 291.4)
XYZxyz(19.6742, 14.3726, 50.4428)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159BE #A6BE59
analogous
#5974BE #7159BE #A359BE
triadic
#7159BE #BE7159 #59BE71
tetradic
#7159BE #BE5974 #A6BE59 #59BEA3
square
#7159BE #BE5974 #A6BE59 #59BEA3
split-complementary
#7159BE #BEA359 #74BE59
monochromatic
#3C2C71 #543D9D #7159BE #9785CF #BCB1E0

Accessibility & contrast

On white

5.42
#7159BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7159BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159BE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159BE#FFFFFF#000000##FFFFFF
##7159BE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC1
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#5C6E83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7159be;
/* rgb */ color: rgb(113, 89, 190);
/* oklch */ color: oklch(53.8% 0.152 291.4);
Tailwind
colors: {
  custom: {
    50: '#9e88d2',
    500: '#7159be',
    950: '#000000',
  },
}
SCSS
$custom: #7159be;
$custom-light: #9e88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7159be",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 254.257,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.15236,
    "h": 291.4
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#7159BE
secondary
#C5CFA4
accent
#D354B5
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7159BE

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

Preview Lab → · Contrast checker → · Palette generator →

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