#7172FA#7172FA

#7172FA is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.2% C 0.198 H 278.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7172FA
RGBrgb(113, 114, 250)
HSLhsl(240, 93%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(54.8%, 54.4%, 0%, 2%)
CIE-LABlab(54.50, 36.86, -68.33)
CIE-LCHlch(54.50, 77.64, 298.34°)
OKLaboklab(62.25% 0.0298 -0.1957)
OKLCHoklch(62.25% 0.198 278.7)
XYZxyz(30.0772, 22.4455, 93.1714)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7172FA #FAF971
analogous
#71B6FA #7172FA #B471FA
triadic
#7172FA #FA7172 #72FA71
tetradic
#7172FA #FA71B6 #FAF971 #71FAB4
square
#7172FA #FA71B6 #FAF971 #71FAB4
split-complementary
#7172FA #FAB471 #B6FA71
monochromatic
#080AE8 #3637F8 #7172FA #ACADFC #E1E2FE

Accessibility & contrast

On white

3.83
#7172FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7172FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7172FA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7172FA#FFFFFF#000000##000000
##7172FA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1388FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#2A91AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7172fa;
/* rgb */ color: rgb(113, 114, 250);
/* oklch */ color: oklch(62.2% 0.198 278.7);
Tailwind
colors: {
  custom: {
    50: '#a49afd',
    500: '#7172fa',
    950: '#000000',
  },
}
SCSS
$custom: #7172fa;
$custom-light: #a49afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7172fa",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 239.562,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62245,
    "c": 0.19794,
    "h": 278.7
  },
  "luminance": 0.22447
}

Semantic roles & 50–950 ramp

primary
#7172FA
secondary
#F5F5D1
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7172FA

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

Preview Lab → · Contrast checker → · Palette generator →

#7172FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva