#7C46D4#7C46D4

#7C46D4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.206 H 296.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C46D4
RGBrgb(124, 70, 212)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41.5%, 67%, 0%, 16.9%)
CIE-LABlab(43.39, 52.79, -64.87)
CIE-LCHlch(43.39, 83.63, 309.14°)
OKLaboklab(53.51% 0.0909 -0.1853)
OKLCHoklch(53.51% 0.206 296.1)
XYZxyz(22.3829, 13.4184, 63.6853)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46D4 #9ED446
analogous
#4657D4 #7C46D4 #C346D4
triadic
#7C46D4 #D47C46 #46D47C
tetradic
#7C46D4 #D44657 #9ED446 #46D4C3
square
#7C46D4 #D44657 #9ED446 #46D4C3
split-complementary
#7C46D4 #D4C346 #57D446
monochromatic
#441E81 #5E2AB3 #7C46D4 #9F78E0 #C2A9EB

Accessibility & contrast

On white

5.70
#7C46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7C46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46D4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46D4#FFFFFF#000000##FFFFFF
##7C46D41.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#656887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c46d4;
/* rgb */ color: rgb(124, 70, 212);
/* oklch */ color: oklch(53.5% 0.206 296.1);
Tailwind
colors: {
  custom: {
    50: '#a87de2',
    500: '#7c46d4',
    950: '#000000',
  },
}
SCSS
$custom: #7c46d4;
$custom-light: #a87de2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46d4",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 262.817,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.20636,
    "h": 296.1
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#7C46D4
secondary
#C2D99D
accent
#E542A7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7C46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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