#7168EF#7168EF

#7168EF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.7% C 0.196 H 281.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7168EF
RGBrgb(113, 104, 239)
HSLhsl(244, 81%, 67%)
HSVhsv(244, 56%, 94%)
CMYKcmyk(52.7%, 56.5%, 0%, 6.3%)
CIE-LABlab(51.43, 39.40, -67.17)
CIE-LCHlch(51.43, 77.87, 300.39°)
OKLaboklab(59.73% 0.0397 -0.1923)
OKLCHoklch(59.73% 0.196 281.7)
XYZxyz(27.3356, 19.6417, 83.9954)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168EF #E6EF68
analogous
#68A3EF #7168EF #B568EF
triadic
#7168EF #EF7168 #68EF71
tetradic
#7168EF #EF68A3 #E6EF68 #68EFB5
square
#7168EF #EF68A3 #E6EF68 #68EFB5
split-complementary
#7168EF #EFB568 #A3EF68
monochromatic
#2115C7 #3D31E9 #7168EF #A59FF5 #D9D7FB

Accessibility & contrast

On white

4.26
#7168EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7168EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7168EF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168EF#FFFFFF#000000##000000
##7168EF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#3A87A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7168ef;
/* rgb */ color: rgb(113, 104, 239);
/* oklch */ color: oklch(59.7% 0.196 281.7);
Tailwind
colors: {
  custom: {
    50: '#a393f5',
    500: '#7168ef',
    950: '#000000',
  },
}
SCSS
$custom: #7168ef;
$custom-light: #a393f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7168ef",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 244,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.19639,
    "h": 281.7
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#7168EF
secondary
#ECEFC4
accent
#DD08CF
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7168EF

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

Preview Lab → · Contrast checker → · Palette generator →

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