#7159F1#7159F1

#7159F1 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.5% C 0.218 H 284.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7159F1
RGBrgb(113, 89, 241)
HSLhsl(249, 84%, 65%)
HSVhsv(249, 63%, 95%)
CMYKcmyk(53.1%, 63.1%, 0%, 5.5%)
CIE-LABlab(48.27, 48.62, -73.42)
CIE-LCHlch(48.27, 88.06, 303.51°)
OKLaboklab(57.46% 0.0542 -0.2108)
OKLCHoklch(57.46% 0.218 284.4)
XYZxyz(26.2548, 17.0049, 85.1009)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159F1 #D9F159
analogous
#598DF1 #7159F1 #BD59F1
triadic
#7159F1 #F17159 #59F171
tetradic
#7159F1 #F1598D #D9F159 #59F1BD
square
#7159F1 #F1598D #D9F159 #59F1BD
split-complementary
#7159F1 #F1BD59 #8DF159
monochromatic
#2C10BF #4121EC #7159F1 #A191F6 #D2CAFB

Accessibility & contrast

On white

4.77
#7159F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7159F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159F1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159F1#FFFFFF#000000##FFFFFF
##7159F11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#3A7E9D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7159f1;
/* rgb */ color: rgb(113, 89, 241);
/* oklch */ color: oklch(57.5% 0.218 284.4);
Tailwind
colors: {
  custom: {
    50: '#a489f7',
    500: '#7159f1',
    950: '#000000',
  },
}
SCSS
$custom: #7159f1;
$custom-light: #a489f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7159f1",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 241
  },
  "hsl": {
    "h": 249.474,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.21765,
    "h": 284.4
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#7159F1
secondary
#E5EDB9
accent
#E105BE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159F1

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

Preview Lab → · Contrast checker → · Palette generator →

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