#7159F8#7159F8

#7159F8 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 58.0% C 0.226 H 283.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7159F8
RGBrgb(113, 89, 248)
HSLhsl(249, 92%, 66%)
HSVhsv(249, 64%, 97%)
CMYKcmyk(54.4%, 64.1%, 0%, 2.7%)
CIE-LABlab(48.80, 50.67, -76.47)
CIE-LCHlch(48.80, 91.74, 303.53°)
OKLaboklab(58.01% 0.0535 -0.2197)
OKLCHoklch(58.01% 0.226 283.7)
XYZxyz(27.3205, 17.4312, 90.7137)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159F8 #E0F859
analogous
#5990F8 #7159F8 #C159F8
triadic
#7159F8 #F87159 #59F871
tetradic
#7159F8 #F85990 #E0F859 #59F8C1
square
#7159F8 #F85990 #E0F859 #59F8C1
split-complementary
#7159F8 #F8C159 #90F859
monochromatic
#2609CE #3F1EF6 #7159F8 #A394FA #D5CEFD

Accessibility & contrast

On white

4.68
#7159F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7159F8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159F8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159F8#FFFFFF#000000##FFFFFF
##7159F81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FD
Deuteranopia (green-blind)
#006FF5
Tritanopia (blue-blind)
#3281A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7159f8;
/* rgb */ color: rgb(113, 89, 248);
/* oklch */ color: oklch(58.0% 0.226 283.7);
Tailwind
colors: {
  custom: {
    50: '#a589fc',
    500: '#7159f8',
    950: '#000000',
  },
}
SCSS
$custom: #7159f8;
$custom-light: #a589fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7159f8",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 248
  },
  "hsl": {
    "h": 249.057,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.22617,
    "h": 283.7
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#7159F8
secondary
#E9F1BC
accent
#E600C3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7159F8

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

Preview Lab → · Contrast checker → · Palette generator →

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