#7181DC#7181DC

#7181DC is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.138 H 274.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7181DC
RGBrgb(113, 129, 220)
HSLhsl(231, 60%, 65%)
HSVhsv(231, 49%, 86%)
CMYKcmyk(48.6%, 41.4%, 0%, 13.7%)
CIE-LABlab(56.46, 18.66, -48.45)
CIE-LCHlch(56.46, 51.92, 291.06°)
OKLaboklab(63.16% 0.0103 -0.1372)
OKLCHoklch(63.16% 0.138 274.3)
XYZxyz(27.5745, 24.3769, 70.9485)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181DC #DCCC71
analogous
#71B6DC #7181DC #9671DC
triadic
#7181DC #DC7181 #81DC71
tetradic
#7181DC #DC71B6 #DCCC71 #71DC96
square
#7181DC #DC71B6 #DCCC71 #71DC96
split-complementary
#7181DC #DC9671 #B6DC71
monochromatic
#2A3DA9 #4055D0 #7181DC #A2ADE8 #D3D8F4

Accessibility & contrast

On white

3.57
#7181DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7181DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181DC#FFFFFF#000000##000000
##7181DC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#5383DA
Tritanopia (blue-blind)
#4794A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7181dc;
/* rgb */ color: rgb(113, 129, 220);
/* oklch */ color: oklch(63.2% 0.138 274.3);
Tailwind
colors: {
  custom: {
    50: '#a0a5e7',
    500: '#7181dc',
    950: '#000000',
  },
}
SCSS
$custom: #7181dc;
$custom-light: #a0a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7181dc",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 231.028,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63162,
    "c": 0.13757,
    "h": 274.3
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#7181DC
secondary
#E6E1C2
accent
#AF1DC8
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #7181DC

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

Preview Lab → · Contrast checker → · Palette generator →

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