#7182F5#7182F5

#7182F5 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.9% C 0.171 H 274.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7182F5
RGBrgb(113, 130, 245)
HSLhsl(232, 87%, 70%)
HSVhsv(232, 54%, 96%)
CMYKcmyk(53.9%, 46.9%, 0%, 3.9%)
CIE-LABlab(58.10, 25.77, -59.77)
CIE-LCHlch(58.10, 65.08, 293.32°)
OKLaboklab(64.86% 0.0129 -0.1704)
OKLCHoklch(64.86% 0.171 274.3)
XYZxyz(31.2688, 26.0664, 89.7521)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7182F5 #F5E471
analogous
#71C4F5 #7182F5 #A271F5
triadic
#7182F5 #F57182 #82F571
tetradic
#7182F5 #F571C4 #F5E471 #71F5A2
square
#7182F5 #F571C4 #F5E471 #71F5A2
split-complementary
#7182F5 #F5A271 #C4F571
monochromatic
#102ADC #3850F1 #7182F5 #AAB4F9 #E2E6FD

Accessibility & contrast

On white

3.38
#7182F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7182F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7182F5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7182F5#FFFFFF#000000##000000
##7182F51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#3C86F3
Tritanopia (blue-blind)
#2E9BB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7182f5;
/* rgb */ color: rgb(113, 130, 245);
/* oklch */ color: oklch(64.9% 0.171 274.3);
Tailwind
colors: {
  custom: {
    50: '#a3a6f9',
    500: '#7182f5',
    950: '#000000',
  },
}
SCSS
$custom: #7182f5;
$custom-light: #a3a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7182f5",
  "rgb": {
    "r": 113,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 232.273,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.17084,
    "h": 274.3
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#7182F5
secondary
#F3EECF
accent
#C602E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7182F5

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

Preview Lab → · Contrast checker → · Palette generator →

#7182F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva