#7147C2#7147C2

#7147C2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.183 H 294.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7147C2
RGBrgb(113, 71, 194)
HSLhsl(260, 50%, 52%)
HSVhsv(260, 63%, 76%)
CMYKcmyk(41.8%, 63.4%, 0%, 23.9%)
CIE-LABlab(41.08, 45.30, -58.26)
CIE-LCHlch(41.08, 73.80, 307.87°)
OKLaboklab(51.15% 0.0768 -0.1662)
OKLCHoklch(51.15% 0.183 294.8)
XYZxyz(18.7983, 11.9118, 52.3373)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147C2 #98C247
analogous
#475BC2 #7147C2 #AF47C2
triadic
#7147C2 #C27147 #47C271
tetradic
#7147C2 #C2475B #98C247 #47C2AF
square
#7147C2 #C2475B #98C247 #47C2AF
split-complementary
#7147C2 #C2AF47 #5BC247
monochromatic
#3C246B #563399 #7147C2 #9475D1 #B8A3E0

Accessibility & contrast

On white

6.21
#7147C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7147C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147C2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147C2#FFFFFF#000000##FFFFFF
##7147C21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5C637E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7147c2;
/* rgb */ color: rgb(113, 71, 194);
/* oklch */ color: oklch(51.2% 0.183 294.8);
Tailwind
colors: {
  custom: {
    50: '#a07cd5',
    500: '#7147c2',
    950: '#000000',
  },
}
SCSS
$custom: #7147c2;
$custom-light: #a07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7147c2",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 260.488,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.1831,
    "h": 294.8
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#7147C2
secondary
#BBCD97
accent
#DA4EAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7147C2

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

Preview Lab → · Contrast checker → · Palette generator →

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