#7A3FC8#7A3FC8

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

Color values

HEX#7A3FC8
RGBrgb(122, 63, 200)
HSLhsl(266, 55%, 52%)
HSVhsv(266, 69%, 78%)
CMYKcmyk(39%, 68.5%, 0%, 21.6%)
CIE-LABlab(41.00, 52.84, -61.83)
CIE-LCHlch(41.00, 81.33, 310.51°)
OKLaboklab(51.46% 0.097 -0.1764)
OKLCHoklch(51.46% 0.201 298.8)
XYZxyz(20.2262, 11.8625, 55.8564)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC8 #8DC83F
analogous
#3F49C8 #7A3FC8 #BE3FC8
triadic
#7A3FC8 #C87A3F #3FC87A
tetradic
#7A3FC8 #C83F49 #8DC83F #3FC8BE
square
#7A3FC8 #C83F49 #8DC83F #3FC8BE
split-complementary
#7A3FC8 #C8BE3F #49C83F
monochromatic
#411F6D #5D2D9D #7A3FC8 #9B6FD6 #BC9EE3

Accessibility & contrast

On white

6.23
#7A3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7A3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FC8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC8#FFFFFF#000000##FFFFFF
##7A3FC81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#68607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3fc8;
/* rgb */ color: rgb(122, 63, 200);
/* oklch */ color: oklch(51.5% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#a678da',
    500: '#7a3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc8;
$custom-light: #a678da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc8",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 265.839,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.20132,
    "h": 298.8
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#7A3FC8
secondary
#B6D093
accent
#DF499E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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