#7146DA#7146DA

#7146DA is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.213 H 290.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7146DA
RGBrgb(113, 70, 218)
HSLhsl(257, 67%, 56%)
HSVhsv(257, 68%, 85%)
CMYKcmyk(48.2%, 67.9%, 0%, 14.5%)
CIE-LABlab(42.69, 52.39, -69.49)
CIE-LCHlch(42.69, 87.02, 307.01°)
OKLaboklab(52.88% 0.0748 -0.1992)
OKLCHoklch(52.88% 0.213 290.6)
XYZxyz(21.6515, 12.9521, 67.6753)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146DA #AFDA46
analogous
#4665DA #7146DA #BB46DA
triadic
#7146DA #DA7146 #46DA71
tetradic
#7146DA #DA4665 #AFDA46 #46DABB
square
#7146DA #DA4665 #AFDA46 #46DABB
split-complementary
#7146DA #DABB46 #65DA46
monochromatic
#3C1C8A #5226BD #7146DA #9879E4 #BFACEE

Accessibility & contrast

On white

5.85
#7146DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7146DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146DA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146DA#FFFFFF#000000##FFFFFF
##7146DA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#4F6B8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7146da;
/* rgb */ color: rgb(113, 70, 218);
/* oklch */ color: oklch(52.9% 0.213 290.6);
Tailwind
colors: {
  custom: {
    50: '#a27ce6',
    500: '#7146da',
    950: '#000000',
  },
}
SCSS
$custom: #7146da;
$custom-light: #a27ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7146da",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 257.432,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.21281,
    "h": 290.6
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#7146DA
secondary
#CBDCA0
accent
#EA3EB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7146DA

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

Preview Lab → · Contrast checker → · Palette generator →

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