#7158FA#7158FA

#7158FA is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 58.0% C 0.230 H 283.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7158FA
RGBrgb(113, 88, 250)
HSLhsl(249, 94%, 66%)
HSVhsv(249, 65%, 98%)
CMYKcmyk(54.8%, 64.8%, 0%, 2%)
CIE-LABlab(48.75, 51.81, -77.67)
CIE-LCHlch(48.75, 93.36, 303.71°)
OKLaboklab(58.02% 0.0542 -0.2232)
OKLCHoklch(58.02% 0.23 283.6)
XYZxyz(27.5498, 17.3906, 92.3290)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7158FA #E1FA58
analogous
#5890FA #7158FA #C258FA
triadic
#7158FA #FA7158 #58FA71
tetradic
#7158FA #FA5890 #E1FA58 #58FAC2
square
#7158FA #FA5890 #E1FA58 #58FAC2
split-complementary
#7158FA #FAC258 #90FA58
monochromatic
#2606D1 #3E1DF8 #7158FA #A493FC #D6CFFE

Accessibility & contrast

On white

4.69
#7158FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7158FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7158FA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7158FA#FFFFFF#000000##FFFFFF
##7158FA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006EF7
Tritanopia (blue-blind)
#2F81A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7158fa;
/* rgb */ color: rgb(113, 88, 250);
/* oklch */ color: oklch(58.0% 0.230 283.6);
Tailwind
colors: {
  custom: {
    50: '#a689fd',
    500: '#7158fa',
    950: '#000000',
  },
}
SCSS
$custom: #7158fa;
$custom-light: #a689fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7158fa",
  "rgb": {
    "r": 113,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 249.259,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.22973,
    "h": 283.6
  },
  "luminance": 0.17392
}

Semantic roles & 50–950 ramp

primary
#7158FA
secondary
#E9F1BC
accent
#E600C2
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7158FA

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

Preview Lab → · Contrast checker → · Palette generator →

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