#7181E4#7181E4

#7181E4 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.149 H 274.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7181E4
RGBrgb(113, 129, 228)
HSLhsl(232, 68%, 67%)
HSVhsv(232, 50%, 89%)
CMYKcmyk(50.4%, 43.4%, 0%, 10.6%)
CIE-LABlab(56.89, 21.10, -52.25)
CIE-LCHlch(56.89, 56.35, 291.99°)
OKLaboklab(63.63% 0.0116 -0.1483)
OKLCHoklch(63.63% 0.149 274.5)
XYZxyz(28.6595, 24.8109, 76.6625)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181E4 #E4D471
analogous
#71BBE4 #7181E4 #9B71E4
triadic
#7181E4 #E47181 #81E471
tetradic
#7181E4 #E471BB #E4D471 #71E49B
square
#7181E4 #E471BB #E4D471 #71E49B
split-complementary
#7181E4 #E49B71 #BBE471
monochromatic
#2338B8 #3E53DA #7181E4 #A4AFEE #D8DCF8

Accessibility & contrast

On white

3.52
#7181E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7181E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181E4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181E4#FFFFFF#000000##000000
##7181E41.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE8
Deuteranopia (green-blind)
#4C84E2
Tritanopia (blue-blind)
#4096A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7181e4;
/* rgb */ color: rgb(113, 129, 228);
/* oklch */ color: oklch(63.6% 0.149 274.5);
Tailwind
colors: {
  custom: {
    50: '#a0a5ed',
    500: '#7181e4',
    950: '#000000',
  },
}
SCSS
$custom: #7181e4;
$custom-light: #a0a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7181e4",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 231.652,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63628,
    "c": 0.14877,
    "h": 274.5
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#7181E4
secondary
#EBE6C6
accent
#B616D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #7181E4

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

Preview Lab → · Contrast checker → · Palette generator →

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