#7B46AE#7B46AE

#7B46AE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 304.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7B46AE
RGBrgb(123, 70, 174)
HSLhsl(271, 43%, 48%)
HSVhsv(271, 60%, 68%)
CMYKcmyk(29.3%, 59.8%, 0%, 31.8%)
CIE-LABlab(40.65, 42.93, -47.14)
CIE-LCHlch(40.65, 63.76, 312.32°)
OKLaboklab(50.67% 0.0925 -0.1332)
OKLCHoklch(50.67% 0.162 304.8)
XYZxyz(17.9968, 11.6474, 41.3362)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46AE #79AE46
analogous
#4746AE #7B46AE #AE46AD
triadic
#7B46AE #AE7B46 #46AE7B
tetradic
#7B46AE #AE4746 #79AE46 #46ADAE
square
#7B46AE #AE4746 #79AE46 #46ADAE
split-complementary
#7B46AE #ADAE46 #46AE47
monochromatic
#3D2357 #5C3482 #7B46AE #996DC4 #B899D6

Accessibility & contrast

On white

6.31
#7B46AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7B46AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46AE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46AE#FFFFFF#000000##FFFFFF
##7B46AE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#725B73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b46ae;
/* rgb */ color: rgb(123, 70, 174);
/* oklch */ color: oklch(50.7% 0.162 304.8);
Tailwind
colors: {
  custom: {
    50: '#a47cc7',
    500: '#7b46ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b46ae;
$custom-light: #a47cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46ae",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 270.577,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.16218,
    "h": 304.8
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#7B46AE
secondary
#A7C28E
accent
#D25593
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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