#7146CE#7146CE

#7146CE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.199 H 292.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7146CE
RGBrgb(113, 70, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(45.1%, 66%, 0%, 19.2%)
CIE-LABlab(41.76, 49.10, -64.11)
CIE-LCHlch(41.76, 80.75, 307.45°)
OKLaboklab(51.93% 0.0766 -0.1834)
OKLCHoklch(51.93% 0.199 292.7)
XYZxyz(20.1377, 12.3466, 59.7027)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146CE #A3CE46
analogous
#465FCE #7146CE #B546CE
triadic
#7146CE #CE7146 #46CE71
tetradic
#7146CE #CE465F #A3CE46 #46CEB5
square
#7146CE #CE465F #A3CE46 #46CEB5
split-complementary
#7146CE #CEB546 #5FCE46
monochromatic
#3C2079 #542DAA #7146CE #9676DB #BBA7E8

Accessibility & contrast

On white

6.05
#7146CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7146CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146CE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146CE#FFFFFF#000000##FFFFFF
##7146CE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#566784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7146ce;
/* rgb */ color: rgb(113, 70, 206);
/* oklch */ color: oklch(51.9% 0.199 292.7);
Tailwind
colors: {
  custom: {
    50: '#a17cde',
    500: '#7146ce',
    950: '#000000',
  },
}
SCSS
$custom: #7146ce;
$custom-light: #a17cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7146ce",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 258.971,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.19875,
    "h": 292.7
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#7146CE
secondary
#C3D59B
accent
#E146B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146CE

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

Preview Lab → · Contrast checker → · Palette generator →

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