#7147BA#7147BA

#7147BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.173 H 296.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7147BA
RGBrgb(113, 71, 186)
HSLhsl(262, 45%, 50%)
HSVhsv(262, 62%, 73%)
CMYKcmyk(39.2%, 61.8%, 0%, 27.1%)
CIE-LABlab(40.51, 43.14, -54.50)
CIE-LCHlch(40.51, 69.51, 308.37°)
OKLaboklab(50.56% 0.0774 -0.1551)
OKLCHoklch(50.56% 0.173 296.5)
XYZxyz(17.9239, 11.5620, 47.7322)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147BA #90BA47
analogous
#4756BA #7147BA #AB47BA
triadic
#7147BA #BA7147 #47BA71
tetradic
#7147BA #BA4756 #90BA47 #47BAAB
square
#7147BA #BA4756 #90BA47 #47BAAB
split-complementary
#7147BA #BAAB47 #56BA47
monochromatic
#3B2562 #56358E #7147BA #9374CB #B6A0DB

Accessibility & contrast

On white

6.34
#7147BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7147BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147BA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147BA#FFFFFF#000000##FFFFFF
##7147BA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0A5EB8
Tritanopia (blue-blind)
#5F607A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7147ba;
/* rgb */ color: rgb(113, 71, 186);
/* oklch */ color: oklch(50.6% 0.173 296.5);
Tailwind
colors: {
  custom: {
    50: '#9f7ccf',
    500: '#7147ba',
    950: '#000000',
  },
}
SCSS
$custom: #7147ba;
$custom-light: #9f7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7147ba",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 261.913,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.17337,
    "h": 296.5
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#7147BA
secondary
#B5C895
accent
#D553A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7147BA

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

Preview Lab → · Contrast checker → · Palette generator →

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