#7147EA#7147EA

#7147EA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.230 H 288.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7147EA
RGBrgb(113, 71, 234)
HSLhsl(255, 80%, 60%)
HSVhsv(255, 70%, 92%)
CMYKcmyk(51.7%, 69.7%, 0%, 8.2%)
CIE-LABlab(44.17, 56.28, -76.17)
CIE-LCHlch(44.17, 94.71, 306.46°)
OKLaboklab(54.34% 0.0712 -0.2188)
OKLCHoklch(54.34% 0.23 288)
XYZxyz(23.9102, 13.9565, 79.2600)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147EA #C0EA47
analogous
#476FEA #7147EA #C247EA
triadic
#7147EA #EA7147 #47EA71
tetradic
#7147EA #EA476F #C0EA47 #47EAC2
square
#7147EA #EA476F #C0EA47 #47EAC2
split-complementary
#7147EA #EAC247 #6FEA47
monochromatic
#3813A4 #4B19DB #7147EA #9B7EF0 #C6B5F7

Accessibility & contrast

On white

5.54
#7147EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7147EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147EA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147EA#FFFFFF#000000##FFFFFF
##7147EA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#437294
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7147ea;
/* rgb */ color: rgb(113, 71, 234);
/* oklch */ color: oklch(54.3% 0.230 288.0);
Tailwind
colors: {
  custom: {
    50: '#a47ef2',
    500: '#7147ea',
    950: '#000000',
  },
}
SCSS
$custom: #7147ea;
$custom-light: #a47ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7147ea",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 255.46,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.23013,
    "h": 288
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#7147EA
secondary
#D6E6A7
accent
#F632C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7147EA

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

Preview Lab → · Contrast checker → · Palette generator →

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