#7159BF#7159BF

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

Color values

HEX#7159BF
RGBrgb(113, 89, 191)
HSLhsl(254, 44%, 55%)
HSVhsv(254, 53%, 75%)
CMYKcmyk(40.8%, 53.4%, 0%, 25.1%)
CIE-LABlab(44.82, 34.15, -50.47)
CIE-LCHlch(44.82, 60.94, 304.08°)
OKLaboklab(53.84% 0.0556 -0.1433)
OKLCHoklch(53.84% 0.154 291.2)
XYZxyz(19.7838, 14.4165, 51.0204)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159BF #A7BF59
analogous
#5974BF #7159BF #A459BF
triadic
#7159BF #BF7159 #59BF71
tetradic
#7159BF #BF5974 #A7BF59 #59BFA4
square
#7159BF #BF5974 #A7BF59 #59BFA4
split-complementary
#7159BF #BFA459 #74BF59
monochromatic
#3C2C72 #543D9E #7159BF #9785D0 #BDB1E1

Accessibility & contrast

On white

5.41
#7159BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7159BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159BF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159BF#FFFFFF#000000##FFFFFF
##7159BF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#5C6E83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7159bf;
/* rgb */ color: rgb(113, 89, 191);
/* oklch */ color: oklch(53.8% 0.154 291.2);
Tailwind
colors: {
  custom: {
    50: '#9e88d3',
    500: '#7159bf',
    950: '#000000',
  },
}
SCSS
$custom: #7159bf;
$custom-light: #9e88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7159bf",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 254.118,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.1537,
    "h": 291.2
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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