#7181F4#7181F4

#7181F4 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.6% C 0.171 H 274.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7181F4
RGBrgb(113, 129, 244)
HSLhsl(233, 86%, 70%)
HSVhsv(233, 54%, 96%)
CMYKcmyk(53.7%, 47.1%, 0%, 4.3%)
CIE-LABlab(57.79, 26.05, -59.71)
CIE-LCHlch(57.79, 65.15, 293.57°)
OKLaboklab(64.6% 0.0138 -0.1702)
OKLCHoklch(64.6% 0.171 274.6)
XYZxyz(30.9842, 25.7408, 88.9062)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181F4 #F4E471
analogous
#71C2F4 #7181F4 #A371F4
triadic
#7181F4 #F47181 #81F471
tetradic
#7181F4 #F471C2 #F4E471 #71F4A3
square
#7181F4 #F471C2 #F4E471 #71F4A3
split-complementary
#7181F4 #F4A371 #C2F471
monochromatic
#1129DA #384FF0 #7181F4 #AAB3F8 #E3E6FD

Accessibility & contrast

On white

3.42
#7181F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7181F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181F4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181F4#FFFFFF#000000##000000
##7181F41.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F8
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#2F9AAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7181f4;
/* rgb */ color: rgb(113, 129, 244);
/* oklch */ color: oklch(64.6% 0.171 274.6);
Tailwind
colors: {
  custom: {
    50: '#a2a5f8',
    500: '#7181f4',
    950: '#000000',
  },
}
SCSS
$custom: #7181f4;
$custom-light: #a2a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7181f4",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 244
  },
  "hsl": {
    "h": 232.672,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.64603,
    "c": 0.17076,
    "h": 274.6
  },
  "luminance": 0.25743
}

Semantic roles & 50–950 ramp

primary
#7181F4
secondary
#F3EECE
accent
#C703E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181F4

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

Preview Lab → · Contrast checker → · Palette generator →

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