#7A3FB2#7A3FB2

#7A3FB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.177 H 304.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7A3FB2
RGBrgb(122, 63, 178)
HSLhsl(271, 48%, 47%)
HSVhsv(271, 65%, 70%)
CMYKcmyk(31.5%, 64.6%, 0%, 30.2%)
CIE-LABlab(39.42, 47.37, -51.49)
CIE-LCHlch(39.42, 69.97, 312.61°)
OKLaboklab(49.84% 0.0996 -0.146)
OKLCHoklch(49.84% 0.177 304.3)
XYZxyz(17.8376, 10.9070, 43.2764)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FB2 #77B23F
analogous
#413FB2 #7A3FB2 #B23FB0
triadic
#7A3FB2 #B27A3F #3FB27A
tetradic
#7A3FB2 #B2413F #77B23F #3FB0B2
square
#7A3FB2 #B2413F #77B23F #3FB0B2
split-complementary
#7A3FB2 #B0B23F #3FB241
monochromatic
#3C1F58 #5B2F85 #7A3FB2 #9866C9 #B793D9

Accessibility & contrast

On white

6.60
#7A3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7A3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FB2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FB2#FFFFFF#000000##FFFFFF
##7A3FB21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#705873
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3fb2;
/* rgb */ color: rgb(122, 63, 178);
/* oklch */ color: oklch(49.8% 0.177 304.3);
Tailwind
colors: {
  custom: {
    50: '#a578ca',
    500: '#7a3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fb2;
$custom-light: #a578ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fb2",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 270.783,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.1767,
    "h": 304.3
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#7A3FB2
secondary
#A6C489
accent
#D75092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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