#7158FF#7158FF

#7158FF is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.4% C 0.236 H 283.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7158FF
RGBrgb(113, 88, 255)
HSLhsl(249, 100%, 67%)
HSVhsv(249, 65%, 100%)
CMYKcmyk(55.7%, 65.5%, 0%, 0%)
CIE-LABlab(49.14, 53.27, -79.81)
CIE-LCHlch(49.14, 95.95, 303.72°)
OKLaboklab(58.43% 0.0536 -0.2295)
OKLCHoklch(58.43% 0.236 283.1)
XYZxyz(28.3442, 17.7084, 96.5128)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7158FF #E6FF58
analogous
#5893FF #7158FF #C558FF
triadic
#7158FF #FF7158 #58FF71
tetradic
#7158FF #FF5893 #E6FF58 #58FFC5
square
#7158FF #FF5893 #E6FF58 #58FFC5
split-complementary
#7158FF #FFC558 #93FF58
monochromatic
#2100DD #3D1BFF #7158FF #A595FF #D9D2FF

Accessibility & contrast

On white

4.62
#7158FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7158FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7158FF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7158FF#FFFFFF#000000##FFFFFF
##7158FF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#006FFC
Tritanopia (blue-blind)
#2883A4
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7158ff;
/* rgb */ color: rgb(113, 88, 255);
/* oklch */ color: oklch(58.4% 0.236 283.1);
Tailwind
colors: {
  custom: {
    50: '#a689ff',
    500: '#7158ff',
    950: '#000000',
  },
}
SCSS
$custom: #7158ff;
$custom-light: #a689ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7158ff",
  "rgb": {
    "r": 113,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 248.982,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.23571,
    "h": 283.1
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#7158FF
secondary
#ECF4BF
accent
#E600C3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7158FF

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

Preview Lab → · Contrast checker → · Palette generator →

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