#7159BB#7159BB

#7159BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.6% C 0.148 H 291.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7159BB
RGBrgb(113, 89, 187)
HSLhsl(255, 42%, 54%)
HSVhsv(255, 52%, 73%)
CMYKcmyk(39.6%, 52.4%, 0%, 26.7%)
CIE-LABlab(44.58, 33.02, -48.54)
CIE-LCHlch(44.58, 58.71, 304.23°)
OKLaboklab(53.58% 0.0553 -0.1376)
OKLCHoklch(53.58% 0.148 291.9)
XYZxyz(19.3497, 14.2428, 48.7337)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159BB #A3BB59
analogous
#5972BB #7159BB #A259BB
triadic
#7159BB #BB7159 #59BB71
tetradic
#7159BB #BB5972 #A3BB59 #59BBA2
square
#7159BB #BB5972 #A3BB59 #59BBA2
split-complementary
#7159BB #BBA259 #72BB59
monochromatic
#3C2D6D #543E98 #7159BB #9684CD #BBB0DF

Accessibility & contrast

On white

5.46
#7159BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7159BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159BB#FFFFFF#000000##FFFFFF
##7159BB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#5E6D81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7159bb;
/* rgb */ color: rgb(113, 89, 187);
/* oklch */ color: oklch(53.6% 0.148 291.9);
Tailwind
colors: {
  custom: {
    50: '#9e88d0',
    500: '#7159bb',
    950: '#000000',
  },
}
SCSS
$custom: #7159bb;
$custom-light: #9e88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7159bb",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 254.694,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.14834,
    "h": 291.9
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#7159BB
secondary
#C3CDA3
accent
#D256B3
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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