#7E46CF#7E46CF

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

Color values

HEX#7E46CF
RGBrgb(126, 70, 207)
HSLhsl(265, 59%, 54%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(39.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(43.24, 51.89, -62.22)
CIE-LCHlch(43.24, 81.02, 309.83°)
OKLaboklab(53.34% 0.0943 -0.1774)
OKLCHoklch(53.34% 0.201 298)
XYZxyz(22.0540, 13.3206, 60.4286)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E46CF #97CF46
analogous
#4653CF #7E46CF #C346CF
triadic
#7E46CF #CF7E46 #46CF7E
tetradic
#7E46CF #CF4653 #97CF46 #46CFC3
square
#7E46CF #CF4653 #97CF46 #46CFC3
split-complementary
#7E46CF #CFC346 #53CF46
monochromatic
#45207B #602CAB #7E46CF #A077DC #C2A7E8

Accessibility & contrast

On white

5.73
#7E46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7E46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E46CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E46CF#FFFFFF#000000##FFFFFF
##7E46CF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#6B6685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e46cf;
/* rgb */ color: rgb(126, 70, 207);
/* oklch */ color: oklch(53.3% 0.201 298.0);
Tailwind
colors: {
  custom: {
    50: '#a97ddf',
    500: '#7e46cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e46cf;
$custom-light: #a97ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e46cf",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 264.526,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.20091,
    "h": 298
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#7E46CF
secondary
#BED59B
accent
#E246A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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