#7146AC#7146AC

#7146AC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.158 H 300.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7146AC
RGBrgb(113, 70, 172)
HSLhsl(265, 42%, 47%)
HSVhsv(265, 59%, 67%)
CMYKcmyk(34.3%, 59.3%, 0%, 32.5%)
CIE-LABlab(39.36, 39.99, -48.09)
CIE-LCHlch(39.36, 62.55, 309.75°)
OKLaboklab(49.42% 0.0791 -0.1363)
OKLCHoklch(49.42% 0.158 300.1)
XYZxyz(16.4448, 10.8695, 40.2534)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146AC #81AC46
analogous
#464EAC #7146AC #A446AC
triadic
#7146AC #AC7146 #46AC71
tetradic
#7146AC #AC464E #81AC46 #46ACA4
square
#7146AC #AC464E #81AC46 #46ACA4
split-complementary
#7146AC #ACA446 #4EAC46
monochromatic
#382355 #543481 #7146AC #916CC3 #B198D5

Accessibility & contrast

On white

6.62
#7146AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7146AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146AC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146AC#FFFFFF#000000##FFFFFF
##7146AC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#655B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7146ac;
/* rgb */ color: rgb(113, 70, 172);
/* oklch */ color: oklch(49.4% 0.158 300.1);
Tailwind
colors: {
  custom: {
    50: '#9e7bc5',
    500: '#7146ac',
    950: '#000000',
  },
}
SCSS
$custom: #7146ac;
$custom-light: #9e7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7146ac",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 265.294,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.15761,
    "h": 300.1
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#7146AC
secondary
#ABC18D
accent
#D2569E
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7146AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7146AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva