#7146DC#7146DC

#7146DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.215 H 290.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7146DC
RGBrgb(113, 70, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(48.6%, 68.2%, 0%, 13.7%)
CIE-LABlab(42.85, 52.94, -70.37)
CIE-LCHlch(42.85, 88.06, 306.95°)
OKLaboklab(53.05% 0.0745 -0.2018)
OKLCHoklch(53.05% 0.215 290.3)
XYZxyz(21.9148, 13.0575, 69.0619)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146DC #B1DC46
analogous
#4666DC #7146DC #BC46DC
triadic
#7146DC #DC7146 #46DC71
tetradic
#7146DC #DC4666 #B1DC46 #46DCBC
square
#7146DC #DC4666 #B1DC46 #46DCBC
split-complementary
#7146DC #DCBC46 #66DC46
monochromatic
#3B1B8D #5124C0 #7146DC #9979E6 #C0ADEF

Accessibility & contrast

On white

5.81
#7146DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7146DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146DC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146DC#FFFFFF#000000##FFFFFF
##7146DC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#4D6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7146dc;
/* rgb */ color: rgb(113, 70, 220);
/* oklch */ color: oklch(53.0% 0.215 290.3);
Tailwind
colors: {
  custom: {
    50: '#a37de8',
    500: '#7146dc',
    950: '#000000',
  },
}
SCSS
$custom: #7146dc;
$custom-light: #a37de8;
$custom-dark: #000000;
JSON
{
  "hex": "#7146dc",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 257.2,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.21513,
    "h": 290.3
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#7146DC
secondary
#CCDDA0
accent
#EB3DB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7146DC

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

Preview Lab → · Contrast checker → · Palette generator →

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