#7181EF#7181EF

#7181EF is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.3% C 0.164 H 274.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7181EF
RGBrgb(113, 129, 239)
HSLhsl(232, 80%, 69%)
HSVhsv(232, 53%, 94%)
CMYKcmyk(52.7%, 46%, 0%, 6.3%)
CIE-LABlab(57.50, 24.50, -57.40)
CIE-LCHlch(57.50, 62.41, 293.11°)
OKLaboklab(64.29% 0.0132 -0.1634)
OKLCHoklch(64.29% 0.164 274.6)
XYZxyz(30.2353, 25.4412, 84.9620)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181EF #EFDF71
analogous
#71C0EF #7181EF #A071EF
triadic
#7181EF #EF7181 #81EF71
tetradic
#7181EF #EF71C0 #EFDF71 #71EFA0
square
#7181EF #EF71C0 #EFDF71 #71EFA0
split-complementary
#7181EF #EFA071 #C0EF71
monochromatic
#172FCE #3A50E9 #7181EF #A8B2F5 #DFE3FB

Accessibility & contrast

On white

3.45
#7181EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7181EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181EF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181EF#FFFFFF#000000##000000
##7181EF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#3599AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7181ef;
/* rgb */ color: rgb(113, 129, 239);
/* oklch */ color: oklch(64.3% 0.164 274.6);
Tailwind
colors: {
  custom: {
    50: '#a2a5f5',
    500: '#7181ef',
    950: '#000000',
  },
}
SCSS
$custom: #7181ef;
$custom-light: #a2a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7181ef",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 232.381,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.16395,
    "h": 274.6
  },
  "luminance": 0.25443
}

Semantic roles & 50–950 ramp

primary
#7181EF
secondary
#F0ECCB
accent
#C109DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181EF

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

Preview Lab → · Contrast checker → · Palette generator →

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