#7181F7#7181F7

#7181F7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.8% C 0.175 H 274.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7181F7
RGBrgb(113, 129, 247)
HSLhsl(233, 89%, 71%)
HSVhsv(233, 54%, 97%)
CMYKcmyk(54.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(57.97, 26.99, -61.09)
CIE-LCHlch(57.97, 66.78, 293.84°)
OKLaboklab(64.79% 0.0142 -0.1742)
OKLCHoklch(64.79% 0.175 274.6)
XYZxyz(31.4434, 25.9245, 91.3247)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181F7 #F7E771
analogous
#71C4F7 #7181F7 #A471F7
triadic
#7181F7 #F77181 #81F771
tetradic
#7181F7 #F771C4 #F7E771 #71F7A4
square
#7181F7 #F771C4 #F7E771 #71F7A4
split-complementary
#7181F7 #F7A471 #C4F771
monochromatic
#0D26E1 #374EF4 #7181F7 #ABB4FA #E2E5FD

Accessibility & contrast

On white

3.40
#7181F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7181F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181F7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181F7#FFFFFF#000000##000000
##7181F71.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#2B9BB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7181f7;
/* rgb */ color: rgb(113, 129, 247);
/* oklch */ color: oklch(64.8% 0.175 274.6);
Tailwind
colors: {
  custom: {
    50: '#a3a5fa',
    500: '#7181f7',
    950: '#000000',
  },
}
SCSS
$custom: #7181f7;
$custom-light: #a3a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7181f7",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 232.836,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.17482,
    "h": 274.6
  },
  "luminance": 0.25927
}

Semantic roles & 50–950 ramp

primary
#7181F7
secondary
#F4F0D0
accent
#CA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181F7

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

Preview Lab → · Contrast checker → · Palette generator →

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