#7147E1#7147E1

#7147E1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.220 H 289.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7147E1
RGBrgb(113, 71, 225)
HSLhsl(256, 72%, 58%)
HSVhsv(256, 68%, 88%)
CMYKcmyk(49.8%, 68.4%, 0%, 11.8%)
CIE-LABlab(43.44, 53.79, -72.27)
CIE-LCHlch(43.44, 90.09, 306.66°)
OKLaboklab(53.59% 0.0728 -0.2074)
OKLCHoklch(53.59% 0.22 289.3)
XYZxyz(22.6500, 13.4524, 72.6227)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147E1 #B7E147
analogous
#476AE1 #7147E1 #BE47E1
triadic
#7147E1 #E17147 #47E171
tetradic
#7147E1 #E1476A #B7E147 #47E1BE
square
#7147E1 #E1476A #B7E147 #47E1BE
split-complementary
#7147E1 #E1BE47 #6AE147
monochromatic
#3A1895 #4F21CA #7147E1 #9A7CEA #C2B0F2

Accessibility & contrast

On white

5.69
#7147E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7147E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147E1#FFFFFF#000000##FFFFFF
##7147E11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#4A6E8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7147e1;
/* rgb */ color: rgb(113, 71, 225);
/* oklch */ color: oklch(53.6% 0.220 289.3);
Tailwind
colors: {
  custom: {
    50: '#a37deb',
    500: '#7147e1',
    950: '#000000',
  },
}
SCSS
$custom: #7147e1;
$custom-light: #a37deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7147e1",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 256.364,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.21978,
    "h": 289.3
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#7147E1
secondary
#D0E1A3
accent
#EF39BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7147E1

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

Preview Lab → · Contrast checker → · Palette generator →

#7147E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva