#7181F8#7181F8

#7181F8 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.9% C 0.176 H 274.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7181F8
RGBrgb(113, 129, 248)
HSLhsl(233, 91%, 71%)
HSVhsv(233, 54%, 97%)
CMYKcmyk(54.4%, 48%, 0%, 2.7%)
CIE-LABlab(58.02, 27.30, -61.55)
CIE-LCHlch(58.02, 67.33, 293.92°)
OKLaboklab(64.86% 0.0143 -0.1756)
OKLCHoklch(64.86% 0.176 274.6)
XYZxyz(31.5981, 25.9863, 92.1395)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181F8 #F8E871
analogous
#71C4F8 #7181F8 #A471F8
triadic
#7181F8 #F87181 #81F871
tetradic
#7181F8 #F871C4 #F8E871 #71F8A4
square
#7181F8 #F871C4 #F8E871 #71F8A4
split-complementary
#7181F8 #F8A471 #C4F871
monochromatic
#0B25E3 #374DF5 #7181F8 #ABB5FB #E2E5FE

Accessibility & contrast

On white

3.39
#7181F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7181F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181F8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181F8#FFFFFF#000000##000000
##7181F81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#2A9BB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7181f8;
/* rgb */ color: rgb(113, 129, 248);
/* oklch */ color: oklch(64.9% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#a3a5fb',
    500: '#7181f8',
    950: '#000000',
  },
}
SCSS
$custom: #7181f8;
$custom-light: #a3a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7181f8",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 232.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64856,
    "c": 0.17618,
    "h": 274.6
  },
  "luminance": 0.25989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7181F8

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

Preview Lab → · Contrast checker → · Palette generator →

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