#7146D8#7146D8

#7146D8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.210 H 290.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7146D8
RGBrgb(113, 70, 216)
HSLhsl(258, 65%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.7%, 67.6%, 0%, 15.3%)
CIE-LABlab(42.53, 51.84, -68.60)
CIE-LCHlch(42.53, 85.99, 307.08°)
OKLaboklab(52.72% 0.0751 -0.1966)
OKLCHoklch(52.72% 0.21 290.9)
XYZxyz(21.3914, 12.8481, 66.3053)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146D8 #ADD846
analogous
#4664D8 #7146D8 #BA46D8
triadic
#7146D8 #D87146 #46D871
tetradic
#7146D8 #D84664 #ADD846 #46D8BA
square
#7146D8 #D84664 #ADD846 #46D8BA
split-complementary
#7146D8 #D8BA46 #64D846
monochromatic
#3C1C87 #5227BA #7146D8 #9879E3 #BFABED

Accessibility & contrast

On white

5.88
#7146D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7146D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146D8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146D8#FFFFFF#000000##FFFFFF
##7146D81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#506A89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7146d8;
/* rgb */ color: rgb(113, 70, 216);
/* oklch */ color: oklch(52.7% 0.210 290.9);
Tailwind
colors: {
  custom: {
    50: '#a27ce5',
    500: '#7146d8',
    950: '#000000',
  },
}
SCSS
$custom: #7146d8;
$custom-light: #a27ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7146d8",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 257.671,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.21049,
    "h": 290.9
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#7146D8
secondary
#C9DB9F
accent
#E840B7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7146D8

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

Preview Lab → · Contrast checker → · Palette generator →

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