#7168EC#7168EC

#7168EC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.5% C 0.192 H 281.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7168EC
RGBrgb(113, 104, 236)
HSLhsl(244, 78%, 67%)
HSVhsv(244, 56%, 93%)
CMYKcmyk(52.1%, 55.9%, 0%, 7.5%)
CIE-LABlab(51.23, 38.49, -65.82)
CIE-LCHlch(51.23, 76.24, 300.32°)
OKLaboklab(59.52% 0.0397 -0.1884)
OKLCHoklch(59.52% 0.192 281.9)
XYZxyz(26.8960, 19.4659, 81.6807)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168EC #E3EC68
analogous
#68A1EC #7168EC #B368EC
triadic
#7168EC #EC7168 #68EC71
tetradic
#7168EC #EC68A1 #E3EC68 #68ECB3
square
#7168EC #EC68A1 #E3EC68 #68ECB3
split-complementary
#7168EC #ECB368 #A1EC68
monochromatic
#2418C1 #3E32E5 #7168EC #A49EF3 #D7D5FA

Accessibility & contrast

On white

4.29
#7168EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7168EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7168EC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168EC#FFFFFF#000000##000000
##7168EC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#3D86A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7168ec;
/* rgb */ color: rgb(113, 104, 236);
/* oklch */ color: oklch(59.5% 0.192 281.9);
Tailwind
colors: {
  custom: {
    50: '#a393f3',
    500: '#7168ec',
    950: '#000000',
  },
}
SCSS
$custom: #7168ec;
$custom-light: #a393f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7168ec",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 244.091,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.19249,
    "h": 281.9
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#7168EC
secondary
#EAEDC3
accent
#DA0CCC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7168EC

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

Preview Lab → · Contrast checker → · Palette generator →

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