#7168CF#7168CF

#7168CF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.6% C 0.154 H 284.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7168CF
RGBrgb(113, 104, 207)
HSLhsl(245, 52%, 61%)
HSVhsv(245, 50%, 81%)
CMYKcmyk(45.4%, 49.8%, 0%, 18.8%)
CIE-LABlab(49.39, 29.80, -52.37)
CIE-LCHlch(49.39, 60.25, 299.64°)
OKLaboklab(57.57% 0.0383 -0.1488)
OKLCHoklch(57.57% 0.154 284.4)
XYZxyz(23.0196, 17.9153, 61.2645)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168CF #C6CF68
analogous
#6892CF #7168CF #A468CF
triadic
#7168CF #CF7168 #68CF71
tetradic
#7168CF #CF6892 #C6CF68 #68CFA4
square
#7168CF #CF6892 #C6CF68 #68CFA4
split-complementary
#7168CF #CFA468 #92CF68
monochromatic
#362D8F #483CBE #7168CF #9D96DE #C8C5ED

Accessibility & contrast

On white

4.58
#7168CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7168CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7168CF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168CF#FFFFFF#000000##000000
##7168CF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#3772CD
Tritanopia (blue-blind)
#527E92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7168cf;
/* rgb */ color: rgb(113, 104, 207);
/* oklch */ color: oklch(57.6% 0.154 284.4);
Tailwind
colors: {
  custom: {
    50: '#9f93de',
    500: '#7168cf',
    950: '#000000',
  },
}
SCSS
$custom: #7168cf;
$custom-light: #9f93de;
$custom-dark: #000000;
JSON
{
  "hex": "#7168cf",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 245.243,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.15366,
    "h": 284.4
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#7168CF
secondary
#D9DDB6
accent
#BF26B2
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7168CF

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

Preview Lab → · Contrast checker → · Palette generator →

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