#7168BB#7168BB

#7168BB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.3% C 0.126 H 286.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7168BB
RGBrgb(113, 104, 187)
HSLhsl(247, 38%, 57%)
HSVhsv(247, 44%, 73%)
CMYKcmyk(39.6%, 44.4%, 0%, 26.7%)
CIE-LABlab(48.26, 23.98, -42.68)
CIE-LCHlch(48.26, 48.95, 299.34°)
OKLaboklab(56.34% 0.0359 -0.1204)
OKLCHoklch(56.34% 0.126 286.6)
XYZxyz(20.7275, 16.9985, 49.1930)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168BB #B2BB68
analogous
#6889BB #7168BB #9B68BB
triadic
#7168BB #BB7168 #68BB71
tetradic
#7168BB #BB6889 #B2BB68 #68BB9B
square
#7168BB #BB6889 #B2BB68 #68BB9B
split-complementary
#7168BB #BB9B68 #89BB68
monochromatic
#3B3474 #51479E #7168BB #9992CE #C0BCE1

Accessibility & contrast

On white

4.77
#7168BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7168BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7168BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168BB#FFFFFF#000000##FFFFFF
##7168BB1.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)
#4A75BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#5C7888
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7168bb;
/* rgb */ color: rgb(113, 104, 187);
/* oklch */ color: oklch(56.3% 0.126 286.6);
Tailwind
colors: {
  custom: {
    50: '#9d93d0',
    500: '#7168bb',
    950: '#000000',
  },
}
SCSS
$custom: #7168bb;
$custom-light: #9d93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7168bb",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 246.506,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56342,
    "c": 0.12565,
    "h": 286.6
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#7168BB
secondary
#CDD0AF
accent
#CE5AC1
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0F0D14
muted
#7E7E82

Preview Lab

Preview with #7168BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7168BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva