#7146E5#7146E5

#7146E5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.226 H 288.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7146E5
RGBrgb(113, 70, 229)
HSLhsl(256, 75%, 59%)
HSVhsv(256, 69%, 90%)
CMYKcmyk(50.7%, 69.4%, 0%, 10.2%)
CIE-LABlab(43.58, 55.41, -74.31)
CIE-LCHlch(43.58, 92.69, 306.71°)
OKLaboklab(53.79% 0.073 -0.2134)
OKLCHoklch(53.79% 0.226 288.9)
XYZxyz(23.1390, 13.5471, 75.5092)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146E5 #BAE546
analogous
#466AE5 #7146E5 #C046E5
triadic
#7146E5 #E57146 #46E571
tetradic
#7146E5 #E5466A #BAE546 #46E5C0
square
#7146E5 #E5466A #BAE546 #46E5C0
split-complementary
#7146E5 #E5C046 #6AE546
monochromatic
#3A169B #4E1DD0 #7146E5 #9A7CED #C3B1F4

Accessibility & contrast

On white

5.66
#7146E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7146E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146E5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146E5#FFFFFF#000000##FFFFFF
##7146E51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#476F91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7146e5;
/* rgb */ color: rgb(113, 70, 229);
/* oklch */ color: oklch(53.8% 0.226 288.9);
Tailwind
colors: {
  custom: {
    50: '#a47dee',
    500: '#7146e5',
    950: '#000000',
  },
}
SCSS
$custom: #7146e5;
$custom-light: #a47dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7146e5",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 256.226,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.22551,
    "h": 288.9
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#7146E5
secondary
#D2E3A4
accent
#F236BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7146E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7146E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva