#7181F6#7181F6

#7181F6 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.7% C 0.173 H 274.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7181F6
RGBrgb(113, 129, 246)
HSLhsl(233, 88%, 70%)
HSVhsv(233, 54%, 96%)
CMYKcmyk(54.1%, 47.6%, 0%, 3.5%)
CIE-LABlab(57.91, 26.68, -60.63)
CIE-LCHlch(57.91, 66.24, 293.75°)
OKLaboklab(64.73% 0.014 -0.1729)
OKLCHoklch(64.73% 0.173 274.6)
XYZxyz(31.2895, 25.8629, 90.5141)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181F6 #F6E671
analogous
#71C3F6 #7181F6 #A371F6
triadic
#7181F6 #F67181 #81F671
tetradic
#7181F6 #F671C3 #F6E671 #71F6A3
square
#7181F6 #F671C3 #F6E671 #71F6A3
split-complementary
#7181F6 #F6A371 #C3F671
monochromatic
#0E27DE #374EF2 #7181F6 #ABB4FA #E2E5FD

Accessibility & contrast

On white

3.40
#7181F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7181F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181F6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181F6#FFFFFF#000000##000000
##7181F61.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#3886F3
Tritanopia (blue-blind)
#2D9BB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7181f6;
/* rgb */ color: rgb(113, 129, 246);
/* oklch */ color: oklch(64.7% 0.173 274.6);
Tailwind
colors: {
  custom: {
    50: '#a3a5fa',
    500: '#7181f6',
    950: '#000000',
  },
}
SCSS
$custom: #7181f6;
$custom-light: #a3a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7181f6",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 232.782,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64729,
    "c": 0.17348,
    "h": 274.6
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#7181F6
secondary
#F4EFCF
accent
#C901E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181F6

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

Preview Lab → · Contrast checker → · Palette generator →

#7181F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva