#7B46CE#7B46CE

#7B46CE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.199 H 296.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7B46CE
RGBrgb(123, 70, 206)
HSLhsl(263, 58%, 54%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.3%, 66%, 0%, 19.2%)
CIE-LABlab(42.83, 51.04, -62.32)
CIE-LCHlch(42.83, 80.55, 309.32°)
OKLaboklab(52.95% 0.0903 -0.1778)
OKLCHoklch(52.95% 0.199 296.9)
XYZxyz(21.4962, 13.0471, 59.7663)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46CE #99CE46
analogous
#4655CE #7B46CE #BF46CE
triadic
#7B46CE #CE7B46 #46CE7B
tetradic
#7B46CE #CE4655 #99CE46 #46CEBF
square
#7B46CE #CE4655 #99CE46 #46CEBF
split-complementary
#7B46CE #CEBF46 #55CE46
monochromatic
#432079 #5E2DAA #7B46CE #9E76DB #C0A7E8

Accessibility & contrast

On white

5.82
#7B46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7B46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46CE#FFFFFF#000000##FFFFFF
##7B46CE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#666684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b46ce;
/* rgb */ color: rgb(123, 70, 206);
/* oklch */ color: oklch(52.9% 0.199 296.9);
Tailwind
colors: {
  custom: {
    50: '#a77dde',
    500: '#7b46ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b46ce;
$custom-light: #a77dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46ce",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 263.382,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.19943,
    "h": 296.9
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#7B46CE
secondary
#BED59B
accent
#E146A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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