#7159EA#7159EA

#7159EA is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.209 H 285.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7159EA
RGBrgb(113, 89, 234)
HSLhsl(250, 78%, 63%)
HSVhsv(250, 62%, 92%)
CMYKcmyk(51.7%, 62%, 0%, 8.2%)
CIE-LABlab(47.75, 46.57, -70.34)
CIE-LCHlch(47.75, 84.36, 303.51°)
OKLaboklab(56.92% 0.0548 -0.2017)
OKLCHoklch(56.92% 0.209 285.2)
XYZxyz(25.2293, 16.5946, 79.6996)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159EA #D2EA59
analogous
#5989EA #7159EA #B959EA
triadic
#7159EA #EA7159 #59EA71
tetradic
#7159EA #EA5989 #D2EA59 #59EAB9
square
#7159EA #EA5989 #D2EA59 #59EAB9
split-complementary
#7159EA #EAB959 #89EA59
monochromatic
#3017B2 #4323E3 #7159EA #9F8FF1 #CEC6F8

Accessibility & contrast

On white

4.86
#7159EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7159EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159EA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159EA#FFFFFF#000000##FFFFFF
##7159EA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#417C99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7159ea;
/* rgb */ color: rgb(113, 89, 234);
/* oklch */ color: oklch(56.9% 0.209 285.2);
Tailwind
colors: {
  custom: {
    50: '#a389f2',
    500: '#7159ea',
    950: '#000000',
  },
}
SCSS
$custom: #7159ea;
$custom-light: #a389f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7159ea",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 249.931,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.20903,
    "h": 285.2
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#7159EA
secondary
#E1E9B6
accent
#DA0CB8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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