#7159E7#7159E7

#7159E7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.7% C 0.205 H 285.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7159E7
RGBrgb(113, 89, 231)
HSLhsl(250, 75%, 63%)
HSVhsv(250, 61%, 91%)
CMYKcmyk(51.1%, 61.5%, 0%, 9.4%)
CIE-LABlab(47.53, 45.69, -69.00)
CIE-LCHlch(47.53, 82.76, 303.51°)
OKLaboklab(56.69% 0.055 -0.1978)
OKLCHoklch(56.69% 0.205 285.5)
XYZxyz(24.8019, 16.4237, 77.4490)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159E7 #CFE759
analogous
#5988E7 #7159E7 #B859E7
triadic
#7159E7 #E77159 #59E771
tetradic
#7159E7 #E75988 #CFE759 #59E7B8
square
#7159E7 #E75988 #CFE759 #59E7B8
split-complementary
#7159E7 #E7B859 #88E759
monochromatic
#3219AD #4324DF #7159E7 #9F8EEF #CCC4F6

Accessibility & contrast

On white

4.90
#7159E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7159E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159E7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159E7#FFFFFF#000000##FFFFFF
##7159E71.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#437B98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7159e7;
/* rgb */ color: rgb(113, 89, 231);
/* oklch */ color: oklch(56.7% 0.205 285.5);
Tailwind
colors: {
  custom: {
    50: '#a389f0',
    500: '#7159e7',
    950: '#000000',
  },
}
SCSS
$custom: #7159e7;
$custom-light: #a389f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7159e7",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 250.141,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56687,
    "c": 0.20531,
    "h": 285.5
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#7159E7
secondary
#DFE8B4
accent
#D70FB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7159E7

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

Preview Lab → · Contrast checker → · Palette generator →

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