#7181DA#7181DA

#7181DA is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.0% C 0.135 H 274.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7181DA
RGBrgb(113, 129, 218)
HSLhsl(231, 59%, 65%)
HSVhsv(231, 48%, 85%)
CMYKcmyk(48.2%, 40.8%, 0%, 14.5%)
CIE-LABlab(56.36, 18.05, -47.50)
CIE-LCHlch(56.36, 50.81, 290.81°)
OKLaboklab(63.05% 0.0099 -0.1344)
OKLCHoklch(63.05% 0.135 274.2)
XYZxyz(27.3112, 24.2716, 69.5618)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181DA #DACA71
analogous
#71B6DA #7181DA #9571DA
triadic
#7181DA #DA7181 #81DA71
tetradic
#7181DA #DA71B6 #DACA71 #71DA95
square
#7181DA #DA71B6 #DACA71 #71DA95
split-complementary
#7181DA #DA9571 #B6DA71
monochromatic
#2B3EA5 #4056CD #7181DA #A2ACE7 #D2D7F3

Accessibility & contrast

On white

3.59
#7181DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7181DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181DA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181DA#FFFFFF#000000##000000
##7181DA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDD
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#4894A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7181da;
/* rgb */ color: rgb(113, 129, 218);
/* oklch */ color: oklch(63.0% 0.135 274.2);
Tailwind
colors: {
  custom: {
    50: '#9fa5e6',
    500: '#7181da',
    950: '#000000',
  },
}
SCSS
$custom: #7181da;
$custom-light: #9fa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7181da",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 230.857,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63048,
    "c": 0.13476,
    "h": 274.2
  },
  "luminance": 0.24273
}

Semantic roles & 50–950 ramp

primary
#7181DA
secondary
#E5E0C1
accent
#AD1FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #7181DA

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

Preview Lab → · Contrast checker → · Palette generator →

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