#7159D9#7159D9

#7159D9 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.188 H 287.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7159D9
RGBrgb(113, 89, 217)
HSLhsl(251, 63%, 60%)
HSVhsv(251, 59%, 85%)
CMYKcmyk(47.9%, 59%, 0%, 14.9%)
CIE-LABlab(46.53, 41.61, -62.68)
CIE-LCHlch(46.53, 75.23, 303.58°)
OKLaboklab(55.65% 0.0557 -0.1792)
OKLCHoklch(55.65% 0.188 287.3)
XYZxyz(22.9032, 15.6642, 67.4489)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159D9 #C1D959
analogous
#5981D9 #7159D9 #B159D9
triadic
#7159D9 #D97159 #59D971
tetradic
#7159D9 #D95981 #C1D959 #59D9B1
square
#7159D9 #D95981 #C1D959 #59D9B1
split-complementary
#7159D9 #D9B159 #81D959
monochromatic
#382295 #4A2EC7 #7159D9 #9C8BE4 #C6BDF0

Accessibility & contrast

On white

5.08
#7159D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7159D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159D9#FFFFFF#000000##FFFFFF
##7159D91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#4E7690
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7159d9;
/* rgb */ color: rgb(113, 89, 217);
/* oklch */ color: oklch(55.6% 0.188 287.3);
Tailwind
colors: {
  custom: {
    50: '#a189e6',
    500: '#7159d9',
    950: '#000000',
  },
}
SCSS
$custom: #7159d9;
$custom-light: #a189e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7159d9",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 251.25,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.18767,
    "h": 287.3
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#7159D9
secondary
#D6E0AE
accent
#E642C7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159D9

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

Preview Lab → · Contrast checker → · Palette generator →

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