#7C46D1#7C46D1

#7C46D1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.203 H 296.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C46D1
RGBrgb(124, 70, 209)
HSLhsl(263, 60%, 55%)
HSVhsv(263, 67%, 82%)
CMYKcmyk(40.7%, 66.5%, 0%, 18%)
CIE-LABlab(43.16, 52.01, -63.50)
CIE-LCHlch(43.16, 82.08, 309.32°)
OKLaboklab(53.28% 0.0913 -0.1813)
OKLCHoklch(53.28% 0.203 296.7)
XYZxyz(22.0080, 13.2684, 61.7108)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46D1 #9BD146
analogous
#4656D1 #7C46D1 #C146D1
triadic
#7C46D1 #D17C46 #46D17C
tetradic
#7C46D1 #D14656 #9BD146 #46D1C1
square
#7C46D1 #D14656 #9BD146 #46D1C1
split-complementary
#7C46D1 #D1C146 #56D146
monochromatic
#441F7D #5E2BAE #7C46D1 #9F77DD #C1A8E9

Accessibility & contrast

On white

5.75
#7C46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7C46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46D1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46D1#FFFFFF#000000##FFFFFF
##7C46D11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#676786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c46d1;
/* rgb */ color: rgb(124, 70, 209);
/* oklch */ color: oklch(53.3% 0.203 296.7);
Tailwind
colors: {
  custom: {
    50: '#a87de0',
    500: '#7c46d1',
    950: '#000000',
  },
}
SCSS
$custom: #7c46d1;
$custom-light: #a87de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46d1",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 263.309,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.20295,
    "h": 296.7
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#7C46D1
secondary
#C0D79C
accent
#E344A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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