#7168CA#7168CA

#7168CA is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.2% C 0.147 H 284.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7168CA
RGBrgb(113, 104, 202)
HSLhsl(246, 48%, 60%)
HSVhsv(246, 49%, 79%)
CMYKcmyk(44.1%, 48.5%, 0%, 20.8%)
CIE-LABlab(49.10, 28.33, -49.98)
CIE-LCHlch(49.10, 57.45, 299.55°)
OKLaboklab(57.25% 0.0378 -0.1418)
OKLCHoklch(57.25% 0.147 284.9)
XYZxyz(22.4179, 17.6747, 58.0960)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168CA #C1CA68
analogous
#6890CA #7168CA #A268CA
triadic
#7168CA #CA7168 #68CA71
tetradic
#7168CA #CA6890 #C1CA68 #68CAA2
square
#7168CA #CA6890 #C1CA68 #68CAA2
split-complementary
#7168CA #CAA268 #90CA68
monochromatic
#383088 #4A40B5 #7168CA #9C95DA #C6C3EA

Accessibility & contrast

On white

4.63
#7168CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7168CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7168CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168CA#FFFFFF#000000##FFFFFF
##7168CA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#557C8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7168ca;
/* rgb */ color: rgb(113, 104, 202);
/* oklch */ color: oklch(57.2% 0.147 284.9);
Tailwind
colors: {
  custom: {
    50: '#9f93db',
    500: '#7168ca',
    950: '#000000',
  },
}
SCSS
$custom: #7168ca;
$custom-light: #9f93db;
$custom-dark: #000000;
JSON
{
  "hex": "#7168ca",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 245.51,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.14676,
    "h": 284.9
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#7168CA
secondary
#D6DAB4
accent
#D850CB
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7168CA

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

Preview Lab → · Contrast checker → · Palette generator →

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