#7147CE#7147CE

#7147CE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.197 H 292.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7147CE
RGBrgb(113, 71, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(45.1%, 65.5%, 0%, 19.2%)
CIE-LABlab(41.96, 48.57, -63.79)
CIE-LCHlch(41.96, 80.17, 307.29°)
OKLaboklab(52.07% 0.0755 -0.1825)
OKLCHoklch(52.07% 0.197 292.5)
XYZxyz(20.2008, 12.4728, 59.7237)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147CE #A4CE47
analogous
#4761CE #7147CE #B547CE
triadic
#7147CE #CE7147 #47CE71
tetradic
#7147CE #CE4761 #A4CE47 #47CEB5
square
#7147CE #CE4761 #A4CE47 #47CEB5
split-complementary
#7147CE #CEB547 #61CE47
monochromatic
#3C217A #542DAA #7147CE #9677DB #BCA8E8

Accessibility & contrast

On white

6.01
#7147CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7147CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147CE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147CE#FFFFFF#000000##FFFFFF
##7147CE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#566784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7147ce;
/* rgb */ color: rgb(113, 71, 206);
/* oklch */ color: oklch(52.1% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#a17dde',
    500: '#7147ce',
    950: '#000000',
  },
}
SCSS
$custom: #7147ce;
$custom-light: #a17dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7147ce",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 258.667,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.19749,
    "h": 292.5
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#7147CE
secondary
#C3D59C
accent
#E147B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7147CE

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

Preview Lab → · Contrast checker → · Palette generator →

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