#7159EC#7159EC

#7159EC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.1% C 0.212 H 285.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7159EC
RGBrgb(113, 89, 236)
HSLhsl(250, 79%, 64%)
HSVhsv(250, 62%, 93%)
CMYKcmyk(52.1%, 62.3%, 0%, 7.5%)
CIE-LABlab(47.89, 47.16, -71.22)
CIE-LCHlch(47.89, 85.42, 303.51°)
OKLaboklab(57.07% 0.0546 -0.2043)
OKLCHoklch(57.07% 0.212 285)
XYZxyz(25.5182, 16.7102, 81.2214)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159EC #D4EC59
analogous
#598AEC #7159EC #BA59EC
triadic
#7159EC #EC7159 #59EC71
tetradic
#7159EC #EC598A #D4EC59 #59ECBA
square
#7159EC #EC598A #D4EC59 #59ECBA
split-complementary
#7159EC #ECBA59 #8AEC59
monochromatic
#2F15B6 #4222E6 #7159EC #A090F2 #CFC7F9

Accessibility & contrast

On white

4.84
#7159EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7159EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159EC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159EC#FFFFFF#000000##FFFFFF
##7159EC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#3F7D9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7159ec;
/* rgb */ color: rgb(113, 89, 236);
/* oklch */ color: oklch(57.1% 0.212 285.0);
Tailwind
colors: {
  custom: {
    50: '#a489f3',
    500: '#7159ec',
    950: '#000000',
  },
}
SCSS
$custom: #7159ec;
$custom-light: #a489f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7159ec",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 249.796,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.21151,
    "h": 285
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#7159EC
secondary
#E2EAB6
accent
#DC0AB9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159EC

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

Preview Lab → · Contrast checker → · Palette generator →

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