#7181EA#7181EA

#7181EA is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.0% C 0.157 H 274.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7181EA
RGBrgb(113, 129, 234)
HSLhsl(232, 74%, 68%)
HSVhsv(232, 52%, 92%)
CMYKcmyk(51.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(57.22, 22.95, -55.07)
CIE-LCHlch(57.22, 59.66, 292.62°)
OKLaboklab(63.99% 0.0125 -0.1566)
OKLCHoklch(63.99% 0.157 274.6)
XYZxyz(29.5069, 25.1498, 81.1255)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181EA #EADA71
analogous
#71BDEA #7181EA #9D71EA
triadic
#7181EA #EA7181 #81EA71
tetradic
#7181EA #EA71BD #EADA71 #71EA9D
square
#7181EA #EA71BD #EADA71 #71EA9D
split-complementary
#7181EA #EA9D71 #BDEA71
monochromatic
#1D33C4 #3C52E2 #7181EA #A6B0F2 #DCE0FA

Accessibility & contrast

On white

3.48
#7181EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7181EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181EA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181EA#FFFFFF#000000##000000
##7181EA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#3B98AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7181ea;
/* rgb */ color: rgb(113, 129, 234);
/* oklch */ color: oklch(64.0% 0.157 274.6);
Tailwind
colors: {
  custom: {
    50: '#a1a5f1',
    500: '#7181ea',
    950: '#000000',
  },
}
SCSS
$custom: #7181ea;
$custom-light: #a1a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7181ea",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 232.066,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63987,
    "c": 0.15708,
    "h": 274.6
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#7181EA
secondary
#EEE9C9
accent
#BC0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181EA

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

Preview Lab → · Contrast checker → · Palette generator →

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