#7159D7#7159D7

#7159D7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.185 H 287.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7159D7
RGBrgb(113, 89, 215)
HSLhsl(251, 61%, 60%)
HSVhsv(251, 59%, 84%)
CMYKcmyk(47.4%, 58.6%, 0%, 15.7%)
CIE-LABlab(46.39, 41.03, -61.76)
CIE-LCHlch(46.39, 74.15, 303.60°)
OKLaboklab(55.5% 0.0558 -0.1765)
OKLCHoklch(55.5% 0.185 287.5)
XYZxyz(22.6446, 15.5608, 66.0872)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159D7 #BFD759
analogous
#5980D7 #7159D7 #B059D7
triadic
#7159D7 #D77159 #59D771
tetradic
#7159D7 #D75980 #BFD759 #59D7B0
square
#7159D7 #D75980 #BFD759 #59D7B0
split-complementary
#7159D7 #D7B059 #80D759
monochromatic
#382392 #4B2FC4 #7159D7 #9B8AE3 #C5BCEF

Accessibility & contrast

On white

5.11
#7159D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7159D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159D7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159D7#FFFFFF#000000##FFFFFF
##7159D71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#4F768F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7159d7;
/* rgb */ color: rgb(113, 89, 215);
/* oklch */ color: oklch(55.5% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#a189e4',
    500: '#7159d7',
    950: '#000000',
  },
}
SCSS
$custom: #7159d7;
$custom-light: #a189e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7159d7",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 251.429,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.555,
    "c": 0.18511,
    "h": 287.5
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#7159D7
secondary
#D5DEAD
accent
#E444C6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159D7

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

Preview Lab → · Contrast checker → · Palette generator →

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