#7159E8#7159E8

#7159E8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 56.8% C 0.207 H 285.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7159E8
RGBrgb(113, 89, 232)
HSLhsl(250, 76%, 63%)
HSVhsv(250, 62%, 91%)
CMYKcmyk(51.3%, 61.6%, 0%, 9%)
CIE-LABlab(47.60, 45.99, -69.45)
CIE-LCHlch(47.60, 83.30, 303.51°)
OKLaboklab(56.76% 0.055 -0.1991)
OKLCHoklch(56.76% 0.207 285.4)
XYZxyz(24.9436, 16.4804, 78.1950)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159E8 #D0E859
analogous
#5988E8 #7159E8 #B859E8
triadic
#7159E8 #E87159 #59E871
tetradic
#7159E8 #E85988 #D0E859 #59E8B8
square
#7159E8 #E85988 #D0E859 #59E8B8
split-complementary
#7159E8 #E8B859 #88E859
monochromatic
#3118AE #4323E1 #7159E8 #9F8FEF #CDC5F7

Accessibility & contrast

On white

4.89
#7159E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7159E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159E8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159E8#FFFFFF#000000##FFFFFF
##7159E81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7159e8;
/* rgb */ color: rgb(113, 89, 232);
/* oklch */ color: oklch(56.8% 0.207 285.4);
Tailwind
colors: {
  custom: {
    50: '#a389f0',
    500: '#7159e8',
    950: '#000000',
  },
}
SCSS
$custom: #7159e8;
$custom-light: #a389f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7159e8",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 250.07,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.20655,
    "h": 285.4
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#7159E8
secondary
#DFE8B5
accent
#D80EB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7159E8

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

Preview Lab → · Contrast checker → · Palette generator →

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