#7147D1#7147D1

#7147D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.201 H 292.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7147D1
RGBrgb(113, 71, 209)
HSLhsl(258, 60%, 55%)
HSVhsv(258, 66%, 82%)
CMYKcmyk(45.9%, 66%, 0%, 18%)
CIE-LABlab(42.18, 49.39, -65.15)
CIE-LCHlch(42.18, 81.76, 307.17°)
OKLaboklab(52.3% 0.0752 -0.1865)
OKLCHoklch(52.3% 0.201 292)
XYZxyz(20.5687, 12.6199, 61.6614)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147D1 #A7D147
analogous
#4762D1 #7147D1 #B647D1
triadic
#7147D1 #D17147 #47D171
tetradic
#7147D1 #D14762 #A7D147 #47D1B6
square
#7147D1 #D14762 #A7D147 #47D1B6
split-complementary
#7147D1 #D1B647 #62D147
monochromatic
#3C207E #542CAF #7147D1 #9778DD #BDA9E9

Accessibility & contrast

On white

5.96
#7147D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7147D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147D1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147D1#FFFFFF#000000##FFFFFF
##7147D11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#546886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7147d1;
/* rgb */ color: rgb(113, 71, 209);
/* oklch */ color: oklch(52.3% 0.201 292.0);
Tailwind
colors: {
  custom: {
    50: '#a17de0',
    500: '#7147d1',
    950: '#000000',
  },
}
SCSS
$custom: #7147d1;
$custom-light: #a17de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7147d1",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 258.261,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.20105,
    "h": 292
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#7147D1
secondary
#C5D79D
accent
#E345B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7147D1

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

Preview Lab → · Contrast checker → · Palette generator →

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