#7147CA#7147CA

#7147CA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.193 H 293.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7147CA
RGBrgb(113, 71, 202)
HSLhsl(259, 55%, 54%)
HSVhsv(259, 65%, 79%)
CMYKcmyk(44.1%, 64.9%, 0%, 20.8%)
CIE-LABlab(41.66, 47.48, -61.96)
CIE-LCHlch(41.66, 78.06, 307.46°)
OKLaboklab(51.76% 0.076 -0.1771)
OKLCHoklch(51.76% 0.193 293.2)
XYZxyz(19.7210, 12.2809, 57.1970)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147CA #A0CA47
analogous
#475ECA #7147CA #B247CA
triadic
#7147CA #CA7147 #47CA71
tetradic
#7147CA #CA475E #A0CA47 #47CAB2
square
#7147CA #CA475E #A0CA47 #47CAB2
split-complementary
#7147CA #CAB247 #5ECA47
monochromatic
#3C2275 #552FA4 #7147CA #9677D8 #BAA6E5

Accessibility & contrast

On white

6.08
#7147CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7147CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147CA#FFFFFF#000000##FFFFFF
##7147CA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#586682
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7147ca;
/* rgb */ color: rgb(113, 71, 202);
/* oklch */ color: oklch(51.8% 0.193 293.2);
Tailwind
colors: {
  custom: {
    50: '#a07ddb',
    500: '#7147ca',
    950: '#000000',
  },
}
SCSS
$custom: #7147ca;
$custom-light: #a07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7147ca",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 259.237,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.19272,
    "h": 293.2
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#7147CA
secondary
#C0D29A
accent
#DF49AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7147CA

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

Preview Lab → · Contrast checker → · Palette generator →

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