#7147B9#7147B9

#7147B9 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.172 H 296.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7147B9
RGBrgb(113, 71, 185)
HSLhsl(262, 45%, 50%)
HSVhsv(262, 62%, 73%)
CMYKcmyk(38.9%, 61.6%, 0%, 27.5%)
CIE-LABlab(40.44, 42.87, -54.02)
CIE-LCHlch(40.44, 68.97, 308.44°)
OKLaboklab(50.49% 0.0774 -0.1537)
OKLCHoklch(50.49% 0.172 296.7)
XYZxyz(17.8180, 11.5197, 47.1743)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147B9 #8FB947
analogous
#4756B9 #7147B9 #AA47B9
triadic
#7147B9 #B97147 #47B971
tetradic
#7147B9 #B94756 #8FB947 #47B9AA
square
#7147B9 #B94756 #8FB947 #47B9AA
split-complementary
#7147B9 #B9AA47 #56B947
monochromatic
#3B2561 #56368D #7147B9 #9373CA #B5A0DB

Accessibility & contrast

On white

6.36
#7147B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7147B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147B9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147B9#FFFFFF#000000##FFFFFF
##7147B91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#606079
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7147b9;
/* rgb */ color: rgb(113, 71, 185);
/* oklch */ color: oklch(50.5% 0.172 296.7);
Tailwind
colors: {
  custom: {
    50: '#9f7ccf',
    500: '#7147b9',
    950: '#000000',
  },
}
SCSS
$custom: #7147b9;
$custom-light: #9f7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7147b9",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 262.105,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.17214,
    "h": 296.7
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7147B9

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

Preview Lab → · Contrast checker → · Palette generator →

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