#7C46CF#7C46CF

#7C46CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.201 H 297.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7C46CF
RGBrgb(124, 70, 207)
HSLhsl(264, 59%, 54%)
HSVhsv(264, 66%, 81%)
CMYKcmyk(40.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(43.02, 51.49, -62.59)
CIE-LCHlch(43.02, 81.05, 309.45°)
OKLaboklab(53.13% 0.0916 -0.1786)
OKLCHoklch(53.13% 0.201 297.1)
XYZxyz(21.7619, 13.1700, 60.4149)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46CF #99CF46
analogous
#4655CF #7C46CF #C146CF
triadic
#7C46CF #CF7C46 #46CF7C
tetradic
#7C46CF #CF4655 #99CF46 #46CFC1
square
#7C46CF #CF4655 #99CF46 #46CFC1
split-complementary
#7C46CF #CFC146 #55CF46
monochromatic
#44207B #5E2CAB #7C46CF #9E77DC #C1A7E8

Accessibility & contrast

On white

5.78
#7C46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7C46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46CF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46CF#FFFFFF#000000##FFFFFF
##7C46CF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#676685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c46cf;
/* rgb */ color: rgb(124, 70, 207);
/* oklch */ color: oklch(53.1% 0.201 297.1);
Tailwind
colors: {
  custom: {
    50: '#a87ddf',
    500: '#7c46cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c46cf;
$custom-light: #a87ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46cf",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 263.65,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.20068,
    "h": 297.1
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#7C46CF
secondary
#BFD59B
accent
#E246A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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