#7159F2#7159F2

#7159F2 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.5% C 0.219 H 284.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7159F2
RGBrgb(113, 89, 242)
HSLhsl(249, 85%, 65%)
HSVhsv(249, 63%, 95%)
CMYKcmyk(53.3%, 63.2%, 0%, 5.1%)
CIE-LABlab(48.34, 48.92, -73.86)
CIE-LCHlch(48.34, 88.59, 303.51°)
OKLaboklab(57.54% 0.0541 -0.2121)
OKLCHoklch(57.54% 0.219 284.3)
XYZxyz(26.4046, 17.0648, 85.8897)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7159F2 #DAF259
analogous
#598DF2 #7159F2 #BE59F2
triadic
#7159F2 #F27159 #59F271
tetradic
#7159F2 #F2598D #DAF259 #59F2BE
square
#7159F2 #F2598D #DAF259 #59F2BE
split-complementary
#7159F2 #F2BE59 #8DF259
monochromatic
#2B0FC1 #4020EE #7159F2 #A292F6 #D2CBFB

Accessibility & contrast

On white

4.76
#7159F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7159F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7159F2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7159F2#FFFFFF#000000##FFFFFF
##7159F21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#397F9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7159f2;
/* rgb */ color: rgb(113, 89, 242);
/* oklch */ color: oklch(57.5% 0.219 284.3);
Tailwind
colors: {
  custom: {
    50: '#a489f7',
    500: '#7159f2',
    950: '#000000',
  },
}
SCSS
$custom: #7159f2;
$custom-light: #a489f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7159f2",
  "rgb": {
    "r": 113,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 249.412,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.21888,
    "h": 284.3
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7159F2

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

Preview Lab → · Contrast checker → · Palette generator →

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