#7159E5#7159E5

#7159E5 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.5% C 0.203 H 285.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7159E5
RGBrgb(113, 89, 229)
HSLhsl(250, 73%, 62%)
HSVhsv(250, 61%, 90%)
CMYKcmyk(50.7%, 61.1%, 0%, 10.2%)
CIE-LABlab(47.38, 45.11, -68.11)
CIE-LCHlch(47.38, 81.69, 303.52°)
OKLaboklab(56.54% 0.0552 -0.1952)
OKLCHoklch(56.54% 0.203 285.8)
XYZxyz(24.5211, 16.3114, 75.9699)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159E5 #CDE559
analogous
#5987E5 #7159E5 #B759E5
triadic
#7159E5 #E57159 #59E571
tetradic
#7159E5 #E55987 #CDE559 #59E5B7
square
#7159E5 #E55987 #CDE559 #59E5B7
split-complementary
#7159E5 #E5B759 #87E559
monochromatic
#331AA9 #4424DD #7159E5 #9E8EED #CCC3F6

Accessibility & contrast

On white

4.93
#7159E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7159E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159E5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159E5#FFFFFF#000000##FFFFFF
##7159E51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#457A97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7159e5;
/* rgb */ color: rgb(113, 89, 229);
/* oklch */ color: oklch(56.5% 0.203 285.8);
Tailwind
colors: {
  custom: {
    50: '#a389ee',
    500: '#7159e5',
    950: '#000000',
  },
}
SCSS
$custom: #7159e5;
$custom-light: #a389ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7159e5",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 250.286,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.20281,
    "h": 285.8
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#7159E5
secondary
#DEE6B3
accent
#D510B3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7159E5

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

Preview Lab → · Contrast checker → · Palette generator →

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