#7159E6#7159E6

#7159E6 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.6% C 0.204 H 285.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7159E6
RGBrgb(113, 89, 230)
HSLhsl(250, 74%, 63%)
HSVhsv(250, 61%, 90%)
CMYKcmyk(50.9%, 61.3%, 0%, 9.8%)
CIE-LABlab(47.45, 45.40, -68.56)
CIE-LCHlch(47.45, 82.23, 303.51°)
OKLaboklab(56.61% 0.0551 -0.1965)
OKLCHoklch(56.61% 0.204 285.7)
XYZxyz(24.6611, 16.3674, 76.7073)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159E6 #CEE659
analogous
#5987E6 #7159E6 #B859E6
triadic
#7159E6 #E67159 #59E671
tetradic
#7159E6 #E65987 #CEE659 #59E6B8
square
#7159E6 #E65987 #CEE659 #59E6B8
split-complementary
#7159E6 #E6B859 #87E659
monochromatic
#321AAB #4424DE #7159E6 #9E8EEE #CCC3F6

Accessibility & contrast

On white

4.91
#7159E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7159E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159E6#FFFFFF#000000##FFFFFF
##7159E61.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#447B97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7159e6;
/* rgb */ color: rgb(113, 89, 230);
/* oklch */ color: oklch(56.6% 0.204 285.7);
Tailwind
colors: {
  custom: {
    50: '#a389ef',
    500: '#7159e6',
    950: '#000000',
  },
}
SCSS
$custom: #7159e6;
$custom-light: #a389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7159e6",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 250.213,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.20406,
    "h": 285.7
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#7159E6
secondary
#DEE7B4
accent
#D610B4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7159E6

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

Preview Lab → · Contrast checker → · Palette generator →

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