#7159D8#7159D8

#7159D8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.186 H 287.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7159D8
RGBrgb(113, 89, 216)
HSLhsl(251, 62%, 60%)
HSVhsv(251, 59%, 85%)
CMYKcmyk(47.7%, 58.8%, 0%, 15.3%)
CIE-LABlab(46.46, 41.32, -62.22)
CIE-LCHlch(46.46, 74.69, 303.59°)
OKLaboklab(55.57% 0.0558 -0.1778)
OKLCHoklch(55.57% 0.186 287.4)
XYZxyz(22.7735, 15.6123, 66.7660)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159D8 #C0D859
analogous
#5980D8 #7159D8 #B159D8
triadic
#7159D8 #D87159 #59D871
tetradic
#7159D8 #D85980 #C0D859 #59D8B1
square
#7159D8 #D85980 #C0D859 #59D8B1
split-complementary
#7159D8 #D8B159 #80D859
monochromatic
#382394 #4B2EC5 #7159D8 #9B8BE4 #C6BCEF

Accessibility & contrast

On white

5.09
#7159D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7159D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159D8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159D8#FFFFFF#000000##FFFFFF
##7159D81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7159d8;
/* rgb */ color: rgb(113, 89, 216);
/* oklch */ color: oklch(55.6% 0.186 287.4);
Tailwind
colors: {
  custom: {
    50: '#a189e5',
    500: '#7159d8',
    950: '#000000',
  },
}
SCSS
$custom: #7159d8;
$custom-light: #a189e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7159d8",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 251.339,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.18639,
    "h": 287.4
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#7159D8
secondary
#D6DFAE
accent
#E543C6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159D8

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

Preview Lab → · Contrast checker → · Palette generator →

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