#7159DA#7159DA

#7159DA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.189 H 287.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7159DA
RGBrgb(113, 89, 218)
HSLhsl(251, 64%, 60%)
HSVhsv(251, 59%, 85%)
CMYKcmyk(48.2%, 59.2%, 0%, 14.5%)
CIE-LABlab(46.60, 41.90, -63.14)
CIE-LCHlch(46.60, 75.78, 303.57°)
OKLaboklab(55.72% 0.0557 -0.1805)
OKLCHoklch(55.72% 0.189 287.1)
XYZxyz(23.0336, 15.7164, 68.1360)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159DA #C2DA59
analogous
#5981DA #7159DA #B259DA
triadic
#7159DA #DA7159 #59DA71
tetradic
#7159DA #DA5981 #C2DA59 #59DAB2
square
#7159DA #DA5981 #C2DA59 #59DAB2
split-complementary
#7159DA #DAB259 #81DA59
monochromatic
#372297 #4A2DC9 #7159DA #9C8BE5 #C7BDF0

Accessibility & contrast

On white

5.07
#7159DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7159DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159DA#FFFFFF#000000##FFFFFF
##7159DA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#4D7791
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7159da;
/* rgb */ color: rgb(113, 89, 218);
/* oklch */ color: oklch(55.7% 0.189 287.1);
Tailwind
colors: {
  custom: {
    50: '#a189e6',
    500: '#7159da',
    950: '#000000',
  },
}
SCSS
$custom: #7159da;
$custom-light: #a189e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7159da",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 251.163,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.18894,
    "h": 287.1
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#7159DA
secondary
#D7E0AF
accent
#CB1AAA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159DA

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

Preview Lab → · Contrast checker → · Palette generator →

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