#7A3FC9#7A3FC9

#7A3FC9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.202 H 298.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7A3FC9
RGBrgb(122, 63, 201)
HSLhsl(266, 56%, 52%)
HSVhsv(266, 69%, 79%)
CMYKcmyk(39.3%, 68.7%, 0%, 21.2%)
CIE-LABlab(41.07, 53.09, -62.29)
CIE-LCHlch(41.07, 81.85, 310.44°)
OKLaboklab(51.54% 0.0969 -0.1777)
OKLCHoklch(51.54% 0.202 298.6)
XYZxyz(20.3435, 11.9094, 56.4739)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC9 #8EC93F
analogous
#3F49C9 #7A3FC9 #BF3FC9
triadic
#7A3FC9 #C97A3F #3FC97A
tetradic
#7A3FC9 #C93F49 #8EC93F #3FC9BF
square
#7A3FC9 #C93F49 #8EC93F #3FC9BF
split-complementary
#7A3FC9 #C9BF3F #49C93F
monochromatic
#411F6F #5D2D9E #7A3FC9 #9B6FD6 #BC9FE4

Accessibility & contrast

On white

6.21
#7A3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7A3FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FC9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC9#FFFFFF#000000##FFFFFF
##7A3FC91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#67607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3fc9;
/* rgb */ color: rgb(122, 63, 201);
/* oklch */ color: oklch(51.5% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#a778da',
    500: '#7a3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc9;
$custom-light: #a778da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc9",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 265.652,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.20242,
    "h": 298.6
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#7A3FC9
secondary
#B6D094
accent
#DF489F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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