#7181F1#7181F1

#7181F1 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.4% C 0.167 H 274.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7181F1
RGBrgb(113, 129, 241)
HSLhsl(233, 82%, 69%)
HSVhsv(233, 53%, 95%)
CMYKcmyk(53.1%, 46.5%, 0%, 5.5%)
CIE-LABlab(57.62, 25.12, -58.32)
CIE-LCHlch(57.62, 63.50, 293.30°)
OKLaboklab(64.42% 0.0134 -0.1661)
OKLCHoklch(64.42% 0.167 274.6)
XYZxyz(30.5324, 25.5601, 86.5267)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181F1 #F1E171
analogous
#71C1F1 #7181F1 #A171F1
triadic
#7181F1 #F17181 #81F171
tetradic
#7181F1 #F171C1 #F1E171 #71F1A1
square
#7181F1 #F171C1 #F1E171 #71F1A1
split-complementary
#7181F1 #F1A171 #C1F171
monochromatic
#152DD3 #3950EC #7181F1 #A9B2F6 #E0E4FC

Accessibility & contrast

On white

3.44
#7181F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7181F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181F1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181F1#FFFFFF#000000##000000
##7181F11.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F5
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#339AAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7181f1;
/* rgb */ color: rgb(113, 129, 241);
/* oklch */ color: oklch(64.4% 0.167 274.6);
Tailwind
colors: {
  custom: {
    50: '#a2a5f6',
    500: '#7181f1',
    950: '#000000',
  },
}
SCSS
$custom: #7181f1;
$custom-light: #a2a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7181f1",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 241
  },
  "hsl": {
    "h": 232.5,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.16668,
    "h": 274.6
  },
  "luminance": 0.25562
}

Semantic roles & 50–950 ramp

primary
#7181F1
secondary
#F1EDCC
accent
#C407DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7181F1

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

Preview Lab → · Contrast checker → · Palette generator →

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