#7A3DAF#7A3DAF

#7A3DAF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.176 H 305.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7A3DAF
RGBrgb(122, 61, 175)
HSLhsl(272, 48%, 46%)
HSVhsv(272, 65%, 69%)
CMYKcmyk(30.3%, 65.1%, 0%, 31.4%)
CIE-LABlab(38.85, 47.66, -50.64)
CIE-LCHlch(38.85, 69.55, 313.26°)
OKLaboklab(49.36% 0.1021 -0.1435)
OKLCHoklch(49.36% 0.176 305.4)
XYZxyz(17.4310, 10.5703, 41.6711)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DAF #72AF3D
analogous
#413DAF #7A3DAF #AF3DAB
triadic
#7A3DAF #AF7A3D #3DAF7A
tetradic
#7A3DAF #AF413D #72AF3D #3DABAF
square
#7A3DAF #AF413D #72AF3D #3DABAF
split-complementary
#7A3DAF #ABAF3D #3DAF41
monochromatic
#3B1D54 #5A2D82 #7A3DAF #9861C8 #B68FD8

Accessibility & contrast

On white

6.74
#7A3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A3DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DAF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DAF#FFFFFF#000000##FFFFFF
##7A3DAF1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#1F5CAC
Tritanopia (blue-blind)
#715570
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3daf;
/* rgb */ color: rgb(122, 61, 175);
/* oklch */ color: oklch(49.4% 0.176 305.4);
Tailwind
colors: {
  custom: {
    50: '#a476c8',
    500: '#7a3daf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3daf;
$custom-light: #a476c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3daf",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 272.105,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.17612,
    "h": 305.4
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#7A3DAF
secondary
#A2C385
accent
#D8508F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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