#7146DB#7146DB

#7146DB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.214 H 290.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7146DB
RGBrgb(113, 70, 219)
HSLhsl(257, 67%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(48.4%, 68%, 0%, 14.1%)
CIE-LABlab(42.77, 52.66, -69.93)
CIE-LCHlch(42.77, 87.54, 306.98°)
OKLaboklab(52.97% 0.0747 -0.2005)
OKLCHoklch(52.97% 0.214 290.4)
XYZxyz(21.7828, 13.0046, 68.3665)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146DB #B0DB46
analogous
#4666DB #7146DB #BB46DB
triadic
#7146DB #DB7146 #46DB71
tetradic
#7146DB #DB4666 #B0DB46 #46DBBB
square
#7146DB #DB4666 #B0DB46 #46DBBB
split-complementary
#7146DB #DBBB46 #66DB46
monochromatic
#3C1B8B #5125BF #7146DB #9879E5 #C0ACEF

Accessibility & contrast

On white

5.83
#7146DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7146DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146DB#FFFFFF#000000##FFFFFF
##7146DB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#4E6C8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7146db;
/* rgb */ color: rgb(113, 70, 219);
/* oklch */ color: oklch(53.0% 0.214 290.4);
Tailwind
colors: {
  custom: {
    50: '#a37ce7',
    500: '#7146db',
    950: '#000000',
  },
}
SCSS
$custom: #7146db;
$custom-light: #a37ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7146db",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 257.315,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.21397,
    "h": 290.4
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#7146DB
secondary
#CBDDA0
accent
#EA3DB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7146DB

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

Preview Lab → · Contrast checker → · Palette generator →

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