#7A46CF#7A46CF

#7A46CF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.200 H 296.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7A46CF
RGBrgb(122, 70, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(41.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(42.80, 51.10, -62.96)
CIE-LCHlch(42.80, 81.09, 309.06°)
OKLaboklab(52.92% 0.0888 -0.1797)
OKLCHoklch(52.92% 0.2 296.3)
XYZxyz(21.4757, 13.0225, 60.4015)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46CF #9BCF46
analogous
#4657CF #7A46CF #BF46CF
triadic
#7A46CF #CF7A46 #46CF7A
tetradic
#7A46CF #CF4657 #9BCF46 #46CFBF
square
#7A46CF #CF4657 #9BCF46 #46CFBF
split-complementary
#7A46CF #CFBF46 #57CF46
monochromatic
#42207B #5D2CAB #7A46CF #9D77DC #C0A7E8

Accessibility & contrast

On white

5.83
#7A46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7A46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46CF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46CF#FFFFFF#000000##FFFFFF
##7A46CF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#646685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a46cf;
/* rgb */ color: rgb(122, 70, 207);
/* oklch */ color: oklch(52.9% 0.200 296.3);
Tailwind
colors: {
  custom: {
    50: '#a77ddf',
    500: '#7a46cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a46cf;
$custom-light: #a77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46cf",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 262.774,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.20047,
    "h": 296.3
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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