#7181EB#7181EB

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

Color values

HEX#7181EB
RGBrgb(113, 129, 235)
HSLhsl(232, 75%, 68%)
HSVhsv(232, 52%, 92%)
CMYKcmyk(51.9%, 45.1%, 0%, 7.8%)
CIE-LABlab(57.28, 23.26, -55.54)
CIE-LCHlch(57.28, 60.21, 292.72°)
OKLaboklab(64.05% 0.0127 -0.1579)
OKLCHoklch(64.05% 0.158 274.6)
XYZxyz(29.6509, 25.2075, 81.8842)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181EB #EBDB71
analogous
#71BEEB #7181EB #9E71EB
triadic
#7181EB #EB7181 #81EB71
tetradic
#7181EB #EB71BE #EBDB71 #71EB9E
square
#7181EB #EB71BE #EBDB71 #71EB9E
split-complementary
#7181EB #EB9E71 #BEEB71
monochromatic
#1C32C6 #3B51E3 #7181EB #A7B1F3 #DCE0FA

Accessibility & contrast

On white

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

On black

6.04
#7181EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181EB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181EB#FFFFFF#000000##000000
##7181EB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#3A98AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7181eb;
/* rgb */ color: rgb(113, 129, 235);
/* oklch */ color: oklch(64.0% 0.158 274.6);
Tailwind
colors: {
  custom: {
    50: '#a1a5f2',
    500: '#7181eb',
    950: '#000000',
  },
}
SCSS
$custom: #7181eb;
$custom-light: #a1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7181eb",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 232.131,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.15846,
    "h": 274.6
  },
  "luminance": 0.25209
}

Semantic roles & 50–950 ramp

primary
#7181EB
secondary
#EEEAC9
accent
#BD0ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181EB

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

Preview Lab → · Contrast checker → · Palette generator →

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