#7A3EBB#7A3EBB

#7A3EBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.188 H 302.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7A3EBB
RGBrgb(122, 62, 187)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(34.8%, 66.8%, 0%, 26.7%)
CIE-LABlab(39.87, 50.09, -56.08)
CIE-LCHlch(39.87, 75.19, 311.77°)
OKLaboklab(50.35% 0.0998 -0.1595)
OKLCHoklch(50.35% 0.188 302)
XYZxyz(18.7162, 11.1706, 48.1742)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EBB #7FBB3E
analogous
#3E41BB #7A3EBB #B93EBB
triadic
#7A3EBB #BB7A3E #3EBB7A
tetradic
#7A3EBB #BB3E41 #7FBB3E #3EBBB9
square
#7A3EBB #BB3E41 #7FBB3E #3EBBB9
split-complementary
#7A3EBB #BBB93E #41BB3E
monochromatic
#3E205F #5C2F8D #7A3EBB #9969CD #B897DC

Accessibility & contrast

On white

6.49
#7A3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EBB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EBB#FFFFFF#000000##FFFFFF
##7A3EBB1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6D5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3ebb;
/* rgb */ color: rgb(122, 62, 187);
/* oklch */ color: oklch(50.4% 0.188 302.0);
Tailwind
colors: {
  custom: {
    50: '#a577d0',
    500: '#7a3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ebb;
$custom-light: #a577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ebb",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 268.8,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.18813,
    "h": 302
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#7A3EBB
secondary
#ACC88D
accent
#DA4E97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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