#7147D6#7147D6

#7147D6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.207 H 291.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7147D6
RGBrgb(113, 71, 214)
HSLhsl(258, 64%, 56%)
HSVhsv(258, 67%, 84%)
CMYKcmyk(47.2%, 66.8%, 0%, 16.1%)
CIE-LABlab(42.57, 50.76, -67.40)
CIE-LCHlch(42.57, 84.38, 306.99°)
OKLaboklab(52.7% 0.0745 -0.1931)
OKLCHoklch(52.7% 0.207 291.1)
XYZxyz(21.1975, 12.8714, 64.9728)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147D6 #ACD647
analogous
#4764D6 #7147D6 #B847D6
triadic
#7147D6 #D67147 #47D671
tetradic
#7147D6 #D64764 #ACD647 #47D6B8
square
#7147D6 #D64764 #ACD647 #47D6B8
split-complementary
#7147D6 #D6B847 #64D647
monochromatic
#3C1E85 #5329B7 #7147D6 #9879E1 #BEABEC

Accessibility & contrast

On white

5.88
#7147D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7147D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147D6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147D6#FFFFFF#000000##FFFFFF
##7147D61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#516A89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7147d6;
/* rgb */ color: rgb(113, 71, 214);
/* oklch */ color: oklch(52.7% 0.207 291.1);
Tailwind
colors: {
  custom: {
    50: '#a27de4',
    500: '#7147d6',
    950: '#000000',
  },
}
SCSS
$custom: #7147d6;
$custom-light: #a27de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7147d6",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 257.622,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.20695,
    "h": 291.1
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#7147D6
secondary
#C9DA9F
accent
#E741B6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7147D6

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

Preview Lab → · Contrast checker → · Palette generator →

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