#7146D2#7146D2

#7146D2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.203 H 291.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7146D2
RGBrgb(113, 70, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 67%, 82%)
CMYKcmyk(46.2%, 66.7%, 0%, 17.6%)
CIE-LABlab(42.07, 50.19, -65.92)
CIE-LCHlch(42.07, 82.85, 307.29°)
OKLaboklab(52.24% 0.076 -0.1887)
OKLCHoklch(52.24% 0.203 291.9)
XYZxyz(20.6298, 12.5435, 62.2944)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146D2 #A7D246
analogous
#4661D2 #7146D2 #B746D2
triadic
#7146D2 #D27146 #46D271
tetradic
#7146D2 #D24661 #A7D246 #46D2B7
square
#7146D2 #D24661 #A7D246 #46D2B7
split-complementary
#7146D2 #D2B746 #61D246
monochromatic
#3C1F7F #542BB0 #7146D2 #9777DE #BDA8EA

Accessibility & contrast

On white

5.98
#7146D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7146D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146D2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146D2#FFFFFF#000000##FFFFFF
##7146D21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#536886
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7146d2;
/* rgb */ color: rgb(113, 70, 210);
/* oklch */ color: oklch(52.2% 0.203 291.9);
Tailwind
colors: {
  custom: {
    50: '#a17ce1',
    500: '#7146d2',
    950: '#000000',
  },
}
SCSS
$custom: #7146d2;
$custom-light: #a17ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7146d2",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 258.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.20346,
    "h": 291.9
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#7146D2
secondary
#C5D79C
accent
#E444B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146D2

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

Preview Lab → · Contrast checker → · Palette generator →

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