#7A3FBC#7A3FBC

#7A3FBC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.188 H 301.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7A3FBC
RGBrgb(122, 63, 188)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 66%, 74%)
CMYKcmyk(35.1%, 66.5%, 0%, 26.3%)
CIE-LABlab(40.12, 49.83, -56.25)
CIE-LCHlch(40.12, 75.15, 311.54°)
OKLaboklab(50.56% 0.0986 -0.16)
OKLCHoklch(50.56% 0.188 301.6)
XYZxyz(18.8785, 11.3234, 48.7582)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FBC #81BC3F
analogous
#3F43BC #7A3FBC #B93FBC
triadic
#7A3FBC #BC7A3F #3FBC7A
tetradic
#7A3FBC #BC3F43 #81BC3F #3FBCB9
square
#7A3FBC #BC3F43 #81BC3F #3FBCB9
split-complementary
#7A3FBC #BCB93F #43BC3F
monochromatic
#3F2060 #5C308E #7A3FBC #996BCD #B999DD

Accessibility & contrast

On white

6.43
#7A3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A3FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FBC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FBC#FFFFFF#000000##FFFFFF
##7A3FBC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#6C5B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3fbc;
/* rgb */ color: rgb(122, 63, 188);
/* oklch */ color: oklch(50.6% 0.188 301.6);
Tailwind
colors: {
  custom: {
    50: '#a578d1',
    500: '#7a3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fbc;
$custom-light: #a578d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fbc",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 268.32,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50558,
    "c": 0.18794,
    "h": 301.6
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#7A3FBC
secondary
#ADC98E
accent
#D94E98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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