#7B46D9#7B46D9

#7B46D9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.212 H 294.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B46D9
RGBrgb(123, 70, 217)
HSLhsl(262, 66%, 56%)
HSVhsv(262, 68%, 85%)
CMYKcmyk(43.3%, 67.7%, 0%, 14.9%)
CIE-LABlab(43.65, 53.90, -67.30)
CIE-LCHlch(43.65, 86.23, 308.69°)
OKLaboklab(53.79% 0.0888 -0.1925)
OKLCHoklch(53.79% 0.212 294.8)
XYZxyz(22.8796, 13.6004, 67.0519)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46D9 #A4D946
analogous
#465BD9 #7B46D9 #C546D9
triadic
#7B46D9 #D97B46 #46D97B
tetradic
#7B46D9 #D9465B #A4D946 #46D9C5
square
#7B46D9 #D9465B #A4D946 #46D9C5
split-complementary
#7B46D9 #D9C546 #5BD946
monochromatic
#431C89 #5C26BB #7B46D9 #9F79E3 #C3ACEE

Accessibility & contrast

On white

5.64
#7B46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46D9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46D9#FFFFFF#000000##FFFFFF
##7B46D91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#616A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b46d9;
/* rgb */ color: rgb(123, 70, 217);
/* oklch */ color: oklch(53.8% 0.212 294.8);
Tailwind
colors: {
  custom: {
    50: '#a87de6',
    500: '#7b46d9',
    950: '#000000',
  },
}
SCSS
$custom: #7b46d9;
$custom-light: #a87de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46d9",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 261.633,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.21196,
    "h": 294.8
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#7B46D9
secondary
#C6DC9F
accent
#E93FAC
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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