#7159EE#7159EE

#7159EE is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.2% C 0.214 H 284.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7159EE
RGBrgb(113, 89, 238)
HSLhsl(250, 81%, 64%)
HSVhsv(250, 63%, 93%)
CMYKcmyk(52.5%, 62.6%, 0%, 6.7%)
CIE-LABlab(48.04, 47.74, -72.11)
CIE-LCHlch(48.04, 86.48, 303.51°)
OKLaboklab(57.23% 0.0545 -0.2069)
OKLCHoklch(57.23% 0.214 284.8)
XYZxyz(25.8104, 16.8271, 82.7603)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159EE #D6EE59
analogous
#598CEE #7159EE #BB59EE
triadic
#7159EE #EE7159 #59EE71
tetradic
#7159EE #EE598C #D6EE59 #59EEBB
square
#7159EE #EE598C #D6EE59 #59EEBB
split-complementary
#7159EE #EEBB59 #8CEE59
monochromatic
#2E13BA #4221E8 #7159EE #A091F4 #D0C8F9

Accessibility & contrast

On white

4.81
#7159EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7159EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159EE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159EE#FFFFFF#000000##FFFFFF
##7159EE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006DEB
Tritanopia (blue-blind)
#3D7D9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7159ee;
/* rgb */ color: rgb(113, 89, 238);
/* oklch */ color: oklch(57.2% 0.214 284.8);
Tailwind
colors: {
  custom: {
    50: '#a489f5',
    500: '#7159ee',
    950: '#000000',
  },
}
SCSS
$custom: #7159ee;
$custom-light: #a489f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7159ee",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 249.664,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57225,
    "c": 0.21397,
    "h": 284.8
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#7159EE
secondary
#E3EBB7
accent
#DE08BB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159EE

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

Preview Lab → · Contrast checker → · Palette generator →

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