#7159BC#7159BC

#7159BC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.6% C 0.150 H 291.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7159BC
RGBrgb(113, 89, 188)
HSLhsl(255, 42%, 54%)
HSVhsv(255, 53%, 74%)
CMYKcmyk(39.9%, 52.7%, 0%, 26.3%)
CIE-LABlab(44.64, 33.30, -49.02)
CIE-LCHlch(44.64, 59.26, 304.19°)
OKLaboklab(53.64% 0.0554 -0.1391)
OKLCHoklch(53.64% 0.15 291.7)
XYZxyz(19.4571, 14.2858, 49.2995)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159BC #A4BC59
analogous
#5973BC #7159BC #A259BC
triadic
#7159BC #BC7159 #59BC71
tetradic
#7159BC #BC5973 #A4BC59 #59BCA2
square
#7159BC #BC5973 #A4BC59 #59BCA2
split-complementary
#7159BC #BCA259 #73BC59
monochromatic
#3C2C6E #543E9A #7159BC #9685CE #BCB0DF

Accessibility & contrast

On white

5.44
#7159BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7159BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159BC#FFFFFF#000000##FFFFFF
##7159BC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#5D6D82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7159bc;
/* rgb */ color: rgb(113, 89, 188);
/* oklch */ color: oklch(53.6% 0.150 291.7);
Tailwind
colors: {
  custom: {
    50: '#9e88d1',
    500: '#7159bc',
    950: '#000000',
  },
}
SCSS
$custom: #7159bc;
$custom-light: #9e88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7159bc",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 254.545,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.14969,
    "h": 291.7
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7159BC

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

Preview Lab → · Contrast checker → · Palette generator →

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