#7A3FBD#7A3FBD

#7A3FBD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.189 H 301.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7A3FBD
RGBrgb(122, 63, 189)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 67%, 74%)
CMYKcmyk(35.4%, 66.7%, 0%, 25.9%)
CIE-LABlab(40.19, 50.08, -56.72)
CIE-LCHlch(40.19, 75.67, 311.44°)
OKLaboklab(50.63% 0.0985 -0.1614)
OKLCHoklch(50.63% 0.189 301.4)
XYZxyz(18.9867, 11.3666, 49.3279)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FBD #82BD3F
analogous
#3F43BD #7A3FBD #B93FBD
triadic
#7A3FBD #BD7A3F #3FBD7A
tetradic
#7A3FBD #BD3F43 #82BD3F #3FBDB9
square
#7A3FBD #BD3F43 #82BD3F #3FBDB9
split-complementary
#7A3FBD #BDB93F #43BD3F
monochromatic
#3F2061 #5C308F #7A3FBD #996BCE #B999DD

Accessibility & contrast

On white

6.42
#7A3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FBD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FBD#FFFFFF#000000##FFFFFF
##7A3FBD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#6C5C79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3fbd;
/* rgb */ color: rgb(122, 63, 189);
/* oklch */ color: oklch(50.6% 0.189 301.4);
Tailwind
colors: {
  custom: {
    50: '#a578d2',
    500: '#7a3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fbd;
$custom-light: #a578d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fbd",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 268.095,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.18905,
    "h": 301.4
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#7A3FBD
secondary
#AEC98F
accent
#DA4E98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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