#7159F4#7159F4

#7159F4 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.7% C 0.221 H 284.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7159F4
RGBrgb(113, 89, 244)
HSLhsl(249, 88%, 65%)
HSVhsv(249, 64%, 96%)
CMYKcmyk(53.7%, 63.5%, 0%, 4.3%)
CIE-LABlab(48.49, 49.50, -74.73)
CIE-LCHlch(48.49, 89.64, 303.52°)
OKLaboklab(57.69% 0.0539 -0.2146)
OKLCHoklch(57.69% 0.221 284.1)
XYZxyz(26.7066, 17.1856, 87.4803)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159F4 #DCF459
analogous
#598FF4 #7159F4 #BE59F4
triadic
#7159F4 #F47159 #59F471
tetradic
#7159F4 #F4598F #DCF459 #59F4BE
square
#7159F4 #F4598F #DCF459 #59F4BE
split-complementary
#7159F4 #F4BE59 #8FF459
monochromatic
#2A0DC6 #4020F0 #7159F4 #A292F8 #D3CCFC

Accessibility & contrast

On white

4.73
#7159F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7159F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159F4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159F4#FFFFFF#000000##FFFFFF
##7159F41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006EF1
Tritanopia (blue-blind)
#377F9F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7159f4;
/* rgb */ color: rgb(113, 89, 244);
/* oklch */ color: oklch(57.7% 0.221 284.1);
Tailwind
colors: {
  custom: {
    50: '#a589f9',
    500: '#7159f4',
    950: '#000000',
  },
}
SCSS
$custom: #7159f4;
$custom-light: #a589f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7159f4",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 249.29,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.22131,
    "h": 284.1
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#7159F4
secondary
#E6EFBA
accent
#E401C1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159F4

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

Preview Lab → · Contrast checker → · Palette generator →

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