#7168CD#7168CD

#7168CD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.4% C 0.151 H 284.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7168CD
RGBrgb(113, 104, 205)
HSLhsl(245, 50%, 61%)
HSVhsv(245, 49%, 80%)
CMYKcmyk(44.9%, 49.3%, 0%, 19.6%)
CIE-LABlab(49.27, 29.21, -51.41)
CIE-LCHlch(49.27, 59.13, 299.60°)
OKLaboklab(57.44% 0.0381 -0.146)
OKLCHoklch(57.44% 0.151 284.6)
XYZxyz(22.7766, 17.8181, 59.9849)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168CD #C4CD68
analogous
#6891CD #7168CD #A468CD
triadic
#7168CD #CD7168 #68CD71
tetradic
#7168CD #CD6891 #C4CD68 #68CDA4
square
#7168CD #CD6891 #C4CD68 #68CDA4
split-complementary
#7168CD #CDA468 #91CD68
monochromatic
#372E8C #493EBA #7168CD #9C96DC #C7C4EB

Accessibility & contrast

On white

4.60
#7168CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7168CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7168CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168CD#FFFFFF#000000##FFFFFF
##7168CD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#537D91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7168cd;
/* rgb */ color: rgb(113, 104, 205);
/* oklch */ color: oklch(57.4% 0.151 284.6);
Tailwind
colors: {
  custom: {
    50: '#9f93dd',
    500: '#7168cd',
    950: '#000000',
  },
}
SCSS
$custom: #7168cd;
$custom-light: #9f93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7168cd",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 245.347,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.15091,
    "h": 284.6
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#7168CD
secondary
#D8DCB5
accent
#BE28B0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7168CD

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

Preview Lab → · Contrast checker → · Palette generator →

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