#7159BA#7159BA

#7159BA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.5% C 0.147 H 292.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7159BA
RGBrgb(113, 89, 186)
HSLhsl(255, 41%, 54%)
HSVhsv(255, 52%, 73%)
CMYKcmyk(39.2%, 52.2%, 0%, 27.1%)
CIE-LABlab(44.52, 32.74, -48.05)
CIE-LCHlch(44.52, 58.15, 304.27°)
OKLaboklab(53.51% 0.0553 -0.1362)
OKLCHoklch(53.51% 0.147 292.1)
XYZxyz(19.2430, 14.2001, 48.1719)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159BA #A2BA59
analogous
#5972BA #7159BA #A259BA
triadic
#7159BA #BA7159 #59BA71
tetradic
#7159BA #BA5972 #A2BA59 #59BAA2
square
#7159BA #BA5972 #A2BA59 #59BAA2
split-complementary
#7159BA #BAA259 #72BA59
monochromatic
#3C2D6C #553F97 #7159BA #9684CC #BBAFDE

Accessibility & contrast

On white

5.47
#7159BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7159BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159BA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159BA#FFFFFF#000000##FFFFFF
##7159BA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#3467B8
Tritanopia (blue-blind)
#5E6D81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7159ba;
/* rgb */ color: rgb(113, 89, 186);
/* oklch */ color: oklch(53.5% 0.147 292.1);
Tailwind
colors: {
  custom: {
    50: '#9e88cf',
    500: '#7159ba',
    950: '#000000',
  },
}
SCSS
$custom: #7159ba;
$custom-light: #9e88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7159ba",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 254.845,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.147,
    "h": 292.1
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#7159BA
secondary
#C2CCA3
accent
#D157B3
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7159BA

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

Preview Lab → · Contrast checker → · Palette generator →

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