#7168CE#7168CE

#7168CE is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.5% C 0.152 H 284.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7168CE
RGBrgb(113, 104, 206)
HSLhsl(245, 51%, 61%)
HSVhsv(245, 50%, 81%)
CMYKcmyk(45.1%, 49.5%, 0%, 19.2%)
CIE-LABlab(49.33, 29.50, -51.89)
CIE-LCHlch(49.33, 59.69, 299.62°)
OKLaboklab(57.5% 0.0382 -0.1474)
OKLCHoklch(57.5% 0.152 284.5)
XYZxyz(22.8977, 17.8666, 60.6227)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168CE #C5CE68
analogous
#6892CE #7168CE #A468CE
triadic
#7168CE #CE7168 #68CE71
tetradic
#7168CE #CE6892 #C5CE68 #68CEA4
square
#7168CE #CE6892 #C5CE68 #68CEA4
split-complementary
#7168CE #CEA468 #92CE68
monochromatic
#362E8E #483DBC #7168CE #9C96DD #C8C4EC

Accessibility & contrast

On white

4.59
#7168CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7168CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7168CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168CE#FFFFFF#000000##FFFFFF
##7168CE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#537E91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7168ce;
/* rgb */ color: rgb(113, 104, 206);
/* oklch */ color: oklch(57.5% 0.152 284.5);
Tailwind
colors: {
  custom: {
    50: '#9f93dd',
    500: '#7168ce',
    950: '#000000',
  },
}
SCSS
$custom: #7168ce;
$custom-light: #9f93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7168ce",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 245.294,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.15228,
    "h": 284.5
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#7168CE
secondary
#D9DCB6
accent
#BE27B1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7168CE

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

Preview Lab → · Contrast checker → · Palette generator →

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