#7160DB#7160DB

#7160DB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.0% C 0.181 H 285.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7160DB
RGBrgb(113, 96, 219)
HSLhsl(248, 63%, 62%)
HSVhsv(248, 56%, 86%)
CMYKcmyk(48.4%, 56.2%, 0%, 14.1%)
CIE-LABlab(48.25, 38.11, -61.04)
CIE-LCHlch(48.25, 71.96, 301.98°)
OKLaboklab(56.95% 0.0481 -0.1744)
OKLCHoklch(56.95% 0.181 285.4)
XYZxyz(23.7753, 16.9898, 69.0307)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7160DB #CADB60
analogous
#608DDB #7160DB #AF60DB
triadic
#7160DB #DB7160 #60DB71
tetradic
#7160DB #DB608D #CADB60 #60DBAF
square
#7160DB #DB608D #CADB60 #60DBAF
split-complementary
#7160DB #DBAF60 #8DDB60
monochromatic
#34249D #452FCF #7160DB #9E92E6 #CAC4F2

Accessibility & contrast

On white

4.77
#7160DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7160DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7160DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7160DB#FFFFFF#000000##FFFFFF
##7160DB1.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)
#0A76DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#4C7C94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7160db;
/* rgb */ color: rgb(113, 96, 219);
/* oklch */ color: oklch(57.0% 0.181 285.4);
Tailwind
colors: {
  custom: {
    50: '#a18de7',
    500: '#7160db',
    950: '#000000',
  },
}
SCSS
$custom: #7160db;
$custom-light: #a18de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7160db",
  "rgb": {
    "r": 113,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 248.293,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.18087,
    "h": 285.4
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#7160DB
secondary
#DCE2B5
accent
#CB1BB2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7160DB

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

Preview Lab → · Contrast checker → · Palette generator →

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