#7181DF#7181DF

#7181DF is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.3% C 0.142 H 274.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7181DF
RGBrgb(113, 129, 223)
HSLhsl(231, 63%, 66%)
HSVhsv(231, 49%, 87%)
CMYKcmyk(49.3%, 42.2%, 0%, 12.5%)
CIE-LABlab(56.62, 19.57, -49.88)
CIE-LCHlch(56.62, 53.59, 291.42°)
OKLaboklab(63.33% 0.0108 -0.1414)
OKLCHoklch(63.33% 0.142 274.4)
XYZxyz(27.9754, 24.5372, 73.0598)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181DF #DFCF71
analogous
#71B8DF #7181DF #9871DF
triadic
#7181DF #DF7181 #81DF71
tetradic
#7181DF #DF71B8 #DFCF71 #71DF98
square
#7181DF #DF71B8 #DFCF71 #71DF98
split-complementary
#7181DF #DF9871 #B8DF71
monochromatic
#273BAE #3F55D4 #7181DF #A3ADEA #D5DAF6

Accessibility & contrast

On white

3.55
#7181DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7181DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181DF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181DF#FFFFFF#000000##000000
##7181DF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8DE3
Deuteranopia (green-blind)
#5184DD
Tritanopia (blue-blind)
#4495A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7181df;
/* rgb */ color: rgb(113, 129, 223);
/* oklch */ color: oklch(63.3% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#a0a5e9',
    500: '#7181df',
    950: '#000000',
  },
}
SCSS
$custom: #7181df;
$custom-light: #a0a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7181df",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 231.273,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.14179,
    "h": 274.4
  },
  "luminance": 0.24539
}

Semantic roles & 50–950 ramp

primary
#7181DF
secondary
#E8E3C4
accent
#B11BCB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #7181DF

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

Preview Lab → · Contrast checker → · Palette generator →

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