#7159BD#7159BD

#7159BD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.7% C 0.151 H 291.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7159BD
RGBrgb(113, 89, 189)
HSLhsl(254, 43%, 55%)
HSVhsv(254, 53%, 74%)
CMYKcmyk(40.2%, 52.9%, 0%, 25.9%)
CIE-LABlab(44.70, 33.58, -49.51)
CIE-LCHlch(44.70, 59.82, 304.15°)
OKLaboklab(53.71% 0.0555 -0.1405)
OKLCHoklch(53.71% 0.151 291.5)
XYZxyz(19.5653, 14.3290, 49.8692)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159BD #A5BD59
analogous
#5973BD #7159BD #A359BD
triadic
#7159BD #BD7159 #59BD71
tetradic
#7159BD #BD5973 #A5BD59 #59BDA3
square
#7159BD #BD5973 #A5BD59 #59BDA3
split-complementary
#7159BD #BDA359 #73BD59
monochromatic
#3C2C6F #543E9B #7159BD #9685CE #BCB1E0

Accessibility & contrast

On white

5.43
#7159BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7159BD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159BD#FFFFFF#000000##FFFFFF
##7159BD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#5D6E82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7159bd;
/* rgb */ color: rgb(113, 89, 189);
/* oklch */ color: oklch(53.7% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#9e88d1',
    500: '#7159bd',
    950: '#000000',
  },
}
SCSS
$custom: #7159bd;
$custom-light: #9e88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7159bd",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 254.4,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.15103,
    "h": 291.5
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#7159BD
secondary
#C4CEA4
accent
#D355B5
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7159BD

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

Preview Lab → · Contrast checker → · Palette generator →

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