#7181F5#7181F5

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

Color values

HEX#7181F5
RGBrgb(113, 129, 245)
HSLhsl(233, 87%, 70%)
HSVhsv(233, 54%, 96%)
CMYKcmyk(53.9%, 47.3%, 0%, 3.9%)
CIE-LABlab(57.85, 26.37, -60.17)
CIE-LCHlch(57.85, 65.69, 293.66°)
OKLaboklab(64.67% 0.0139 -0.1716)
OKLCHoklch(64.67% 0.172 274.6)
XYZxyz(31.1364, 25.8017, 89.7080)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181F5 #F5E571
analogous
#71C3F5 #7181F5 #A371F5
triadic
#7181F5 #F57181 #81F571
tetradic
#7181F5 #F571C3 #F5E571 #71F5A3
square
#7181F5 #F571C3 #F5E571 #71F5A3
split-complementary
#7181F5 #F5A371 #C3F571
monochromatic
#1028DC #384EF1 #7181F5 #AAB4F9 #E2E6FD

Accessibility & contrast

On white

3.41
#7181F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7181F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181F5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181F5#FFFFFF#000000##000000
##7181F51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#2E9BAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7181f5;
/* rgb */ color: rgb(113, 129, 245);
/* oklch */ color: oklch(64.7% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#a3a5f9',
    500: '#7181f5',
    950: '#000000',
  },
}
SCSS
$custom: #7181f5;
$custom-light: #a3a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7181f5",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 232.727,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64666,
    "c": 0.17212,
    "h": 274.6
  },
  "luminance": 0.25804
}

Semantic roles & 50–950 ramp

primary
#7181F5
secondary
#F3EFCF
accent
#C802E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181F5

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

Preview Lab → · Contrast checker → · Palette generator →

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