#7146C2#7146C2

#7146C2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.184 H 295.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7146C2
RGBrgb(113, 70, 194)
HSLhsl(261, 50%, 52%)
HSVhsv(261, 64%, 76%)
CMYKcmyk(41.8%, 63.9%, 0%, 23.9%)
CIE-LABlab(40.87, 45.85, -58.59)
CIE-LCHlch(40.87, 74.39, 308.04°)
OKLaboklab(51.01% 0.0779 -0.1672)
OKLCHoklch(51.01% 0.184 295)
XYZxyz(18.7352, 11.7856, 52.3162)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146C2 #97C246
analogous
#4659C2 #7146C2 #AF46C2
triadic
#7146C2 #C27146 #46C271
tetradic
#7146C2 #C24659 #97C246 #46C2AF
square
#7146C2 #C24659 #97C246 #46C2AF
split-complementary
#7146C2 #C2AF46 #59C246
monochromatic
#3C236A #563299 #7146C2 #9474D1 #B8A2E0

Accessibility & contrast

On white

6.26
#7146C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7146C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146C2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146C2#FFFFFF#000000##FFFFFF
##7146C21.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#5C637E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7146c2;
/* rgb */ color: rgb(113, 70, 194);
/* oklch */ color: oklch(51.0% 0.184 295.0);
Tailwind
colors: {
  custom: {
    50: '#a07cd5',
    500: '#7146c2',
    950: '#000000',
  },
}
SCSS
$custom: #7146c2;
$custom-light: #a07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7146c2",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 260.806,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.18443,
    "h": 295
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#7146C2
secondary
#BACD97
accent
#DA4EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7146C2

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

Preview Lab → · Contrast checker → · Palette generator →

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