#7159EB#7159EB

#7159EB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.210 H 285.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7159EB
RGBrgb(113, 89, 235)
HSLhsl(250, 78%, 64%)
HSVhsv(250, 62%, 92%)
CMYKcmyk(51.9%, 62.1%, 0%, 7.8%)
CIE-LABlab(47.82, 46.86, -70.78)
CIE-LCHlch(47.82, 84.89, 303.51°)
OKLaboklab(56.99% 0.0547 -0.203)
OKLCHoklch(56.99% 0.21 285.1)
XYZxyz(25.3733, 16.6523, 80.4584)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159EB #D3EB59
analogous
#598AEB #7159EB #BA59EB
triadic
#7159EB #EB7159 #59EB71
tetradic
#7159EB #EB598A #D3EB59 #59EBBA
square
#7159EB #EB598A #D3EB59 #59EBBA
split-complementary
#7159EB #EBBA59 #8AEB59
monochromatic
#3016B4 #4222E4 #7159EB #A090F2 #CEC6F8

Accessibility & contrast

On white

4.85
#7159EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7159EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159EB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159EB#FFFFFF#000000##FFFFFF
##7159EB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#407C9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7159eb;
/* rgb */ color: rgb(113, 89, 235);
/* oklch */ color: oklch(57.0% 0.210 285.1);
Tailwind
colors: {
  custom: {
    50: '#a389f2',
    500: '#7159eb',
    950: '#000000',
  },
}
SCSS
$custom: #7159eb;
$custom-light: #a389f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7159eb",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 249.863,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.21027,
    "h": 285.1
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#7159EB
secondary
#E1EAB6
accent
#DB0BB9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159EB

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

Preview Lab → · Contrast checker → · Palette generator →

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