#7146E8#7146E8

#7146E8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.229 H 288.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7146E8
RGBrgb(113, 70, 232)
HSLhsl(256, 78%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(51.3%, 69.8%, 0%, 9%)
CIE-LABlab(43.82, 56.23, -75.61)
CIE-LCHlch(43.82, 94.23, 306.64°)
OKLaboklab(54.04% 0.0724 -0.2172)
OKLCHoklch(54.04% 0.229 288.4)
XYZxyz(23.5614, 13.7161, 77.7343)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146E8 #BDE846
analogous
#466CE8 #7146E8 #C246E8
triadic
#7146E8 #E87146 #46E871
tetradic
#7146E8 #E8466C #BDE846 #46E8C2
square
#7146E8 #E8466C #BDE846 #46E8C2
split-complementary
#7146E8 #E8C246 #6CE846
monochromatic
#3914A0 #4C1BD6 #7146E8 #9B7CEF #C5B3F6

Accessibility & contrast

On white

5.61
#7146E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7146E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146E8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146E8#FFFFFF#000000##FFFFFF
##7146E81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#447092
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7146e8;
/* rgb */ color: rgb(113, 70, 232);
/* oklch */ color: oklch(54.0% 0.229 288.4);
Tailwind
colors: {
  custom: {
    50: '#a47df0',
    500: '#7146e8',
    950: '#000000',
  },
}
SCSS
$custom: #7146e8;
$custom-light: #a47df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7146e8",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 255.926,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.22893,
    "h": 288.4
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#7146E8
secondary
#D4E5A5
accent
#F433C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7146E8

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

Preview Lab → · Contrast checker → · Palette generator →

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