#7147CC#7147CC

#7147CC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.195 H 292.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7147CC
RGBrgb(113, 71, 204)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.6%, 65.2%, 0%, 20%)
CIE-LABlab(41.81, 48.02, -62.88)
CIE-LCHlch(41.81, 79.12, 307.37°)
OKLaboklab(51.91% 0.0758 -0.1798)
OKLCHoklch(51.91% 0.195 292.9)
XYZxyz(19.9594, 12.3762, 58.4523)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147CC #A2CC47
analogous
#4760CC #7147CC #B447CC
triadic
#7147CC #CC7147 #47CC71
tetradic
#7147CC #CC4760 #A2CC47 #47CCB4
square
#7147CC #CC4760 #A2CC47 #47CCB4
split-complementary
#7147CC #CCB447 #60CC47
monochromatic
#3C2177 #552EA7 #7147CC #9677D9 #BBA7E7

Accessibility & contrast

On white

6.04
#7147CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7147CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147CC#FFFFFF#000000##FFFFFF
##7147CC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#576783
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7147cc;
/* rgb */ color: rgb(113, 71, 204);
/* oklch */ color: oklch(51.9% 0.195 292.9);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7147cc',
    950: '#000000',
  },
}
SCSS
$custom: #7147cc;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7147cc",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 258.947,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.19511,
    "h": 292.9
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#7147CC
secondary
#C2D49B
accent
#E048B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7147CC

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

Preview Lab → · Contrast checker → · Palette generator →

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