#7C46DB#7C46DB

#7C46DB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.214 H 294.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C46DB
RGBrgb(124, 70, 219)
HSLhsl(262, 67%, 57%)
HSVhsv(262, 68%, 86%)
CMYKcmyk(43.4%, 68%, 0%, 14.1%)
CIE-LABlab(43.91, 54.61, -68.02)
CIE-LCHlch(43.91, 87.23, 308.76°)
OKLaboklab(54.05% 0.0899 -0.1945)
OKLCHoklch(54.05% 0.214 294.8)
XYZxyz(23.2851, 13.7793, 68.4369)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46DB #A5DB46
analogous
#465BDB #7C46DB #C746DB
triadic
#7C46DB #DB7C46 #46DB7C
tetradic
#7C46DB #DB465B #A5DB46 #46DBC7
square
#7C46DB #DB465B #A5DB46 #46DBC7
split-complementary
#7C46DB #DBC746 #5BDB46
monochromatic
#441B8B #5D25BF #7C46DB #A079E5 #C5ACEF

Accessibility & contrast

On white

5.59
#7C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7C46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46DB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46DB#FFFFFF#000000##FFFFFF
##7C46DB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#626B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c46db;
/* rgb */ color: rgb(124, 70, 219);
/* oklch */ color: oklch(54.0% 0.214 294.8);
Tailwind
colors: {
  custom: {
    50: '#a97de7',
    500: '#7c46db',
    950: '#000000',
  },
}
SCSS
$custom: #7c46db;
$custom-light: #a97de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46db",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 261.745,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.21429,
    "h": 294.8
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#7C46DB
secondary
#C7DDA0
accent
#EA3DAC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C46DB

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

Preview Lab → · Contrast checker → · Palette generator →

#7C46DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva