#7170FA#7170FA

#7170FA is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.9% C 0.200 H 279.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7170FA
RGBrgb(113, 112, 250)
HSLhsl(240, 93%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(54.8%, 55.2%, 0%, 2%)
CIE-LABlab(54.03, 38.04, -69.09)
CIE-LCHlch(54.03, 78.87, 298.84°)
OKLaboklab(61.9% 0.0318 -0.1979)
OKLCHoklch(61.9% 0.2 279.1)
XYZxyz(29.8541, 21.9992, 93.0971)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7170FA #F9FA70
analogous
#70B4FA #7170FA #B670FA
triadic
#7170FA #FA7170 #70FA71
tetradic
#7170FA #FA70B4 #F9FA70 #70FAB6
square
#7170FA #FA70B4 #F9FA70 #70FAB6
split-complementary
#7170FA #FAB670 #B4FA70
monochromatic
#0A08E8 #3635F8 #7170FA #ACABFC #E2E1FE

Accessibility & contrast

On white

3.89
#7170FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7170FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7170FA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7170FA#FFFFFF#000000##000000
##7170FA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#2B90AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7170fa;
/* rgb */ color: rgb(113, 112, 250);
/* oklch */ color: oklch(61.9% 0.200 279.1);
Tailwind
colors: {
  custom: {
    50: '#a499fd',
    500: '#7170fa',
    950: '#000000',
  },
}
SCSS
$custom: #7170fa;
$custom-light: #a499fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7170fa",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 240.435,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.20047,
    "h": 279.1
  },
  "luminance": 0.22001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7170FA

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

Preview Lab → · Contrast checker → · Palette generator →

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