#7159F3#7159F3

#7159F3 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.6% C 0.220 H 284.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7159F3
RGBrgb(113, 89, 243)
HSLhsl(249, 87%, 65%)
HSVhsv(249, 63%, 95%)
CMYKcmyk(53.5%, 63.4%, 0%, 4.7%)
CIE-LABlab(48.42, 49.21, -74.30)
CIE-LCHlch(48.42, 89.12, 303.52°)
OKLaboklab(57.62% 0.054 -0.2134)
OKLCHoklch(57.62% 0.22 284.2)
XYZxyz(26.5552, 17.1250, 86.6828)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159F3 #DBF359
analogous
#598EF3 #7159F3 #BE59F3
triadic
#7159F3 #F37159 #59F371
tetradic
#7159F3 #F3598E #DBF359 #59F3BE
square
#7159F3 #F3598E #DBF359 #59F3BE
split-complementary
#7159F3 #F3BE59 #8EF359
monochromatic
#2A0EC3 #4020EF #7159F3 #A292F7 #D3CBFB

Accessibility & contrast

On white

4.75
#7159F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7159F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159F3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159F3#FFFFFF#000000##FFFFFF
##7159F31.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#387F9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7159f3;
/* rgb */ color: rgb(113, 89, 243);
/* oklch */ color: oklch(57.6% 0.220 284.2);
Tailwind
colors: {
  custom: {
    50: '#a489f8',
    500: '#7159f3',
    950: '#000000',
  },
}
SCSS
$custom: #7159f3;
$custom-light: #a489f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7159f3",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 249.351,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57615,
    "c": 0.22009,
    "h": 284.2
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#7159F3
secondary
#E6EEBA
accent
#E302C0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7159F3

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

Preview Lab → · Contrast checker → · Palette generator →

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