#7146C3#7146C3

#7146C3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.186 H 294.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7146C3
RGBrgb(113, 70, 195)
HSLhsl(261, 51%, 52%)
HSVhsv(261, 64%, 76%)
CMYKcmyk(42.1%, 64.1%, 0%, 23.5%)
CIE-LABlab(40.95, 46.12, -59.05)
CIE-LCHlch(40.95, 74.93, 307.99°)
OKLaboklab(51.08% 0.0778 -0.1685)
OKLCHoklch(51.08% 0.186 294.8)
XYZxyz(18.8479, 11.8307, 52.9097)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146C3 #98C346
analogous
#465AC3 #7146C3 #B046C3
triadic
#7146C3 #C37146 #46C371
tetradic
#7146C3 #C3465A #98C346 #46C3B0
square
#7146C3 #C3465A #98C346 #46C3B0
split-complementary
#7146C3 #C3B046 #5AC346
monochromatic
#3C236C #56329A #7146C3 #9474D2 #B8A2E1

Accessibility & contrast

On white

6.24
#7146C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7146C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146C3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146C3#FFFFFF#000000##FFFFFF
##7146C31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#5B637E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7146c3;
/* rgb */ color: rgb(113, 70, 195);
/* oklch */ color: oklch(51.1% 0.186 294.8);
Tailwind
colors: {
  custom: {
    50: '#a07cd6',
    500: '#7146c3',
    950: '#000000',
  },
}
SCSS
$custom: #7146c3;
$custom-light: #a07cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7146c3",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 195
  },
  "hsl": {
    "h": 260.64,
    "s": 51.02,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.18564,
    "h": 294.8
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#7146C3
secondary
#BBCE97
accent
#DA4DAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7146C3

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

Preview Lab → · Contrast checker → · Palette generator →

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