#7146E7#7146E7

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

Color values

HEX#7146E7
RGBrgb(113, 70, 231)
HSLhsl(256, 77%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(51.1%, 69.7%, 0%, 9.4%)
CIE-LABlab(43.74, 55.96, -75.18)
CIE-LCHlch(43.74, 93.72, 306.66°)
OKLaboklab(53.96% 0.0726 -0.2159)
OKLCHoklch(53.96% 0.228 288.6)
XYZxyz(23.4198, 13.6595, 76.9883)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146E7 #BCE746
analogous
#466CE7 #7146E7 #C246E7
triadic
#7146E7 #E77146 #46E771
tetradic
#7146E7 #E7466C #BCE746 #46E7C2
square
#7146E7 #E7466C #BCE746 #46E7C2
split-complementary
#7146E7 #E7C246 #6CE746
monochromatic
#39159E #4D1CD4 #7146E7 #9B7CEE #C4B2F5

Accessibility & contrast

On white

5.63
#7146E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7146E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146E7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146E7#FFFFFF#000000##FFFFFF
##7146E71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#457092
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7146e7;
/* rgb */ color: rgb(113, 70, 231);
/* oklch */ color: oklch(54.0% 0.228 288.6);
Tailwind
colors: {
  custom: {
    50: '#a47df0',
    500: '#7146e7',
    950: '#000000',
  },
}
SCSS
$custom: #7146e7;
$custom-light: #a47df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7146e7",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 256.025,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.22779,
    "h": 288.6
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#7146E7
secondary
#D3E4A5
accent
#F434C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7146E7

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

Preview Lab → · Contrast checker → · Palette generator →

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