#7C46BB#7C46BB

#7C46BB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.178 H 301.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7C46BB
RGBrgb(124, 70, 187)
HSLhsl(268, 46%, 50%)
HSVhsv(268, 63%, 73%)
CMYKcmyk(33.7%, 62.6%, 0%, 26.7%)
CIE-LABlab(41.62, 46.40, -53.24)
CIE-LCHlch(41.62, 70.62, 311.07°)
OKLaboklab(51.67% 0.0934 -0.1511)
OKLCHoklch(51.67% 0.178 301.7)
XYZxyz(19.4699, 12.2532, 48.3434)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46BB #85BB46
analogous
#464BBB #7C46BB #B646BB
triadic
#7C46BB #BB7C46 #46BB7C
tetradic
#7C46BB #BB464B #85BB46 #46BBB6
square
#7C46BB #BB464B #85BB46 #46BBB6
split-complementary
#7C46BB #BBB646 #4BBB46
monochromatic
#412462 #5E358F #7C46BB #9C73CB #BBA0DC

Accessibility & contrast

On white

6.09
#7C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7C46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46BB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46BB#FFFFFF#000000##FFFFFF
##7C46BB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1F62B8
Tritanopia (blue-blind)
#6F5F7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c46bb;
/* rgb */ color: rgb(124, 70, 187);
/* oklch */ color: oklch(51.7% 0.178 301.7);
Tailwind
colors: {
  custom: {
    50: '#a67cd0',
    500: '#7c46bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c46bb;
$custom-light: #a67cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46bb",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 267.692,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.17762,
    "h": 301.7
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#7C46BB
secondary
#B0C894
accent
#D65299
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7C46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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