#7181C8#7181C8

#7181C8 is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.1% C 0.109 H 273.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7181C8
RGBrgb(113, 129, 200)
HSLhsl(229, 44%, 61%)
HSVhsv(229, 44%, 78%)
CMYKcmyk(43.5%, 35.5%, 0%, 21.6%)
CIE-LABlab(55.46, 12.69, -38.75)
CIE-LCHlch(55.46, 40.78, 288.13°)
OKLaboklab(62.07% 0.0061 -0.1089)
OKLCHoklch(62.07% 0.109 273.2)
XYZxyz(25.0824, 23.3801, 57.8235)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181C8 #C8B871
analogous
#71ADC8 #7181C8 #8D71C8
triadic
#7181C8 #C87181 #81C871
tetradic
#7181C8 #C871AD #C8B871 #71C88D
square
#7181C8 #C871AD #C8B871 #71C88D
split-complementary
#7181C8 #C88D71 #ADC871
monochromatic
#354589 #465BB6 #7181C8 #9DA8D9 #C9CFEA

Accessibility & contrast

On white

3.70
#7181C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7181C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181C8#FFFFFF#000000##000000
##7181C81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CB
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#538F9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7181c8;
/* rgb */ color: rgb(113, 129, 200);
/* oklch */ color: oklch(62.1% 0.109 273.2);
Tailwind
colors: {
  custom: {
    50: '#9da5d9',
    500: '#7181c8',
    950: '#000000',
  },
}
SCSS
$custom: #7181c8;
$custom-light: #9da5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7181c8",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 228.966,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.10907,
    "h": 273.2
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#7181C8
secondary
#DBD5BA
accent
#9E2EB7
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0F0F14
muted
#7E7F83

Preview Lab

Preview with #7181C8

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

Preview Lab → · Contrast checker → · Palette generator →

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