#7159B2#7159B2

#7159B2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.0% C 0.136 H 293.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7159B2
RGBrgb(113, 89, 178)
HSLhsl(256, 37%, 52%)
HSVhsv(256, 50%, 70%)
CMYKcmyk(36.5%, 50%, 0%, 30.2%)
CIE-LABlab(44.05, 30.51, -44.13)
CIE-LCHlch(44.05, 53.65, 304.66°)
OKLaboklab(53.01% 0.0546 -0.1247)
OKLCHoklch(53.01% 0.136 293.7)
XYZxyz(18.4162, 13.8694, 43.8176)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159B2 #9AB259
analogous
#596DB2 #7159B2 #9E59B2
triadic
#7159B2 #B27159 #59B271
tetradic
#7159B2 #B2596D #9AB259 #59B29E
square
#7159B2 #B2596D #9AB259 #59B29E
split-complementary
#7159B2 #B29E59 #6DB259
monochromatic
#3C2E63 #56418D #7159B2 #9583C5 #B9ADD9

Accessibility & contrast

On white

5.56
#7159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7159B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159B2#FFFFFF#000000##FFFFFF
##7159B21.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#616B7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7159b2;
/* rgb */ color: rgb(113, 89, 178);
/* oklch */ color: oklch(53.0% 0.136 293.7);
Tailwind
colors: {
  custom: {
    50: '#9d88c9',
    500: '#7159b2',
    950: '#000000',
  },
}
SCSS
$custom: #7159b2;
$custom-light: #9d88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7159b2",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 256.18,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53008,
    "c": 0.13615,
    "h": 293.7
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#7159B2
secondary
#BCC7A0
accent
#CD5BAE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7159B2

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

Preview Lab → · Contrast checker → · Palette generator →

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