#7B3DAE#7B3DAE

#7B3DAE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.175 H 306.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7B3DAE
RGBrgb(123, 61, 174)
HSLhsl(273, 48%, 46%)
HSVhsv(273, 65%, 68%)
CMYKcmyk(29.3%, 64.9%, 0%, 31.8%)
CIE-LABlab(38.91, 47.65, -49.95)
CIE-LCHlch(38.91, 69.03, 313.65°)
OKLaboklab(49.4% 0.1036 -0.1414)
OKLCHoklch(49.4% 0.175 306.2)
XYZxyz(17.4755, 10.6046, 41.1625)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DAE #70AE3D
analogous
#423DAE #7B3DAE #AE3DA8
triadic
#7B3DAE #AE7B3D #3DAE7B
tetradic
#7B3DAE #AE423D #70AE3D #3DA8AE
square
#7B3DAE #AE423D #70AE3D #3DA8AE
split-complementary
#7B3DAE #A8AE3D #3DAE42
monochromatic
#3B1D53 #5B2D81 #7B3DAE #9961C8 #B68ED7

Accessibility & contrast

On white

6.73
#7B3DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B3DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DAE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DAE#FFFFFF#000000##FFFFFF
##7B3DAE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#725570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3dae;
/* rgb */ color: rgb(123, 61, 174);
/* oklch */ color: oklch(49.4% 0.175 306.2);
Tailwind
colors: {
  custom: {
    50: '#a576c7',
    500: '#7b3dae',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dae;
$custom-light: #a576c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dae",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 272.92,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.17528,
    "h": 306.2
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#7B3DAE
secondary
#A0C285
accent
#D8508D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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