#7A3FBF#7A3FBF

#7A3FBF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.191 H 300.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7A3FBF
RGBrgb(122, 63, 191)
HSLhsl(268, 50%, 50%)
HSVhsv(268, 67%, 75%)
CMYKcmyk(36.1%, 67%, 0%, 25.1%)
CIE-LABlab(40.34, 50.58, -57.66)
CIE-LCHlch(40.34, 76.70, 311.26°)
OKLaboklab(50.78% 0.0983 -0.1641)
OKLCHoklch(50.78% 0.191 300.9)
XYZxyz(19.2052, 11.4541, 50.4792)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FBF #84BF3F
analogous
#3F44BF #7A3FBF #BA3FBF
triadic
#7A3FBF #BF7A3F #3FBF7A
tetradic
#7A3FBF #BF3F44 #84BF3F #3FBFBA
square
#7A3FBF #BF3F44 #84BF3F #3FBFBA
split-complementary
#7A3FBF #BFBA3F #44BF3F
monochromatic
#3F2163 #5D3091 #7A3FBF #9A6DCF #BA9BDE

Accessibility & contrast

On white

6.38
#7A3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FBF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FBF#FFFFFF#000000##FFFFFF
##7A3FBF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#6B5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3fbf;
/* rgb */ color: rgb(122, 63, 191);
/* oklch */ color: oklch(50.8% 0.191 300.9);
Tailwind
colors: {
  custom: {
    50: '#a678d3',
    500: '#7a3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fbf;
$custom-light: #a678d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fbf",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 267.656,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.19129,
    "h": 300.9
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#7A3FBF
secondary
#AFCA90
accent
#DA4E99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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