#7160E2#7160E2

#7160E2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.5% C 0.190 H 284.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7160E2
RGBrgb(113, 96, 226)
HSLhsl(248, 69%, 63%)
HSVhsv(248, 58%, 89%)
CMYKcmyk(50%, 57.5%, 0%, 11.4%)
CIE-LABlab(48.72, 40.19, -64.25)
CIE-LCHlch(48.72, 75.78, 302.02°)
OKLaboklab(57.45% 0.0481 -0.1838)
OKLCHoklch(57.45% 0.19 284.7)
XYZxyz(24.7163, 17.3662, 73.9864)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7160E2 #D1E260
analogous
#6090E2 #7160E2 #B260E2
triadic
#7160E2 #E27160 #60E271
tetradic
#7160E2 #E26090 #D1E260 #60E2B2
square
#7160E2 #E26090 #D1E260 #60E2B2
split-complementary
#7160E2 #E2B260 #90E260
monochromatic
#311FA9 #432CD9 #7160E2 #9F94EB #CDC8F5

Accessibility & contrast

On white

4.69
#7160E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7160E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7160E2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7160E2#FFFFFF#000000##FFFFFF
##7160E21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#477E98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7160e2;
/* rgb */ color: rgb(113, 96, 226);
/* oklch */ color: oklch(57.5% 0.190 284.7);
Tailwind
colors: {
  custom: {
    50: '#a28eec',
    500: '#7160e2',
    950: '#000000',
  },
}
SCSS
$custom: #7160e2;
$custom-light: #a28eec;
$custom-dark: #000000;
JSON
{
  "hex": "#7160e2",
  "rgb": {
    "r": 113,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 247.846,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.18996,
    "h": 284.7
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#7160E2
secondary
#E0E6B8
accent
#D114B8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7160E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7160E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva