#7146E2#7146E2

#7146E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.222 H 289.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7146E2
RGBrgb(113, 70, 226)
HSLhsl(257, 73%, 58%)
HSVhsv(257, 69%, 89%)
CMYKcmyk(50%, 69%, 0%, 11.4%)
CIE-LABlab(43.33, 54.58, -73.01)
CIE-LCHlch(43.33, 91.16, 306.78°)
OKLaboklab(53.54% 0.0735 -0.2095)
OKLCHoklch(53.54% 0.222 289.3)
XYZxyz(22.7237, 13.3810, 73.3222)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146E2 #B7E246
analogous
#4669E2 #7146E2 #BF46E2
triadic
#7146E2 #E27146 #46E271
tetradic
#7146E2 #E24669 #B7E246 #46E2BF
square
#7146E2 #E24669 #B7E246 #46E2BF
split-complementary
#7146E2 #E2BF46 #69E246
monochromatic
#3A1896 #4F20CB #7146E2 #9A7BEA #C2B0F3

Accessibility & contrast

On white

5.71
#7146E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7146E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146E2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146E2#FFFFFF#000000##FFFFFF
##7146E21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#496E8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7146e2;
/* rgb */ color: rgb(113, 70, 226);
/* oklch */ color: oklch(53.5% 0.222 289.3);
Tailwind
colors: {
  custom: {
    50: '#a37dec',
    500: '#7146e2',
    950: '#000000',
  },
}
SCSS
$custom: #7146e2;
$custom-light: #a37dec;
$custom-dark: #000000;
JSON
{
  "hex": "#7146e2",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 256.538,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.22206,
    "h": 289.3
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#7146E2
secondary
#D0E1A3
accent
#F038BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7146E2

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

Preview Lab → · Contrast checker → · Palette generator →

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