#7159DC#7159DC

#7159DC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.191 H 286.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7159DC
RGBrgb(113, 89, 220)
HSLhsl(251, 65%, 61%)
HSVhsv(251, 60%, 86%)
CMYKcmyk(48.6%, 59.5%, 0%, 13.7%)
CIE-LABlab(46.74, 42.48, -64.05)
CIE-LCHlch(46.74, 76.86, 303.56°)
OKLaboklab(55.86% 0.0556 -0.1832)
OKLCHoklch(55.86% 0.191 286.9)
XYZxyz(23.2969, 15.8217, 69.5226)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159DC #C4DC59
analogous
#5983DC #7159DC #B259DC
triadic
#7159DC #DC7159 #59DC71
tetradic
#7159DC #DC5983 #C4DC59 #59DCB2
square
#7159DC #DC5983 #C4DC59 #59DCB2
split-complementary
#7159DC #DCB259 #83DC59
monochromatic
#37209A #492BCD #7159DC #9C8CE7 #C7BEF1

Accessibility & contrast

On white

5.04
#7159DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7159DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159DC#FFFFFF#000000##FFFFFF
##7159DC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#4C7792
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7159dc;
/* rgb */ color: rgb(113, 89, 220);
/* oklch */ color: oklch(55.9% 0.191 286.9);
Tailwind
colors: {
  custom: {
    50: '#a189e8',
    500: '#7159dc',
    950: '#000000',
  },
}
SCSS
$custom: #7159dc;
$custom-light: #a189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7159dc",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 250.992,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.19148,
    "h": 286.9
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#7159DC
secondary
#D8E1AF
accent
#CD18AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159DC

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

Preview Lab → · Contrast checker → · Palette generator →

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