#7146BE#7146BE

#7146BE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.180 H 295.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7146BE
RGBrgb(113, 70, 190)
HSLhsl(262, 48%, 51%)
HSVhsv(262, 63%, 75%)
CMYKcmyk(40.5%, 63.2%, 0%, 25.5%)
CIE-LABlab(40.59, 44.77, -56.72)
CIE-LCHlch(40.59, 72.26, 308.28°)
OKLaboklab(50.71% 0.0782 -0.1617)
OKLCHoklch(50.71% 0.18 295.8)
XYZxyz(18.2920, 11.6084, 49.9821)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146BE #93BE46
analogous
#4657BE #7146BE #AD46BE
triadic
#7146BE #BE7146 #46BE71
tetradic
#7146BE #BE4657 #93BE46 #46BEAD
square
#7146BE #BE4657 #93BE46 #46BEAD
split-complementary
#7146BE #BEAD46 #57BE46
monochromatic
#3B2466 #563493 #7146BE #9473CE #B7A1DE

Accessibility & contrast

On white

6.32
#7146BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7146BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146BE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146BE#FFFFFF#000000##FFFFFF
##7146BE1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#5D617B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7146be;
/* rgb */ color: rgb(113, 70, 190);
/* oklch */ color: oklch(50.7% 0.180 295.8);
Tailwind
colors: {
  custom: {
    50: '#9f7cd2',
    500: '#7146be',
    950: '#000000',
  },
}
SCSS
$custom: #7146be;
$custom-light: #9f7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7146be",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 261.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.17961,
    "h": 295.8
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#7146BE
secondary
#B7CA95
accent
#D850A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7146BE

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

Preview Lab → · Contrast checker → · Palette generator →

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