#7A3EC8#7A3EC8

#7A3EC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.203 H 299.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7A3EC8
RGBrgb(122, 62, 200)
HSLhsl(266, 56%, 51%)
HSVhsv(266, 69%, 78%)
CMYKcmyk(39%, 69%, 0%, 21.6%)
CIE-LABlab(40.82, 53.33, -62.12)
CIE-LCHlch(40.82, 81.87, 310.64°)
OKLaboklab(51.34% 0.098 -0.1772)
OKLCHoklch(51.34% 0.203 299)
XYZxyz(20.1714, 11.7527, 55.8381)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EC8 #8CC83E
analogous
#3E47C8 #7A3EC8 #BF3EC8
triadic
#7A3EC8 #C87A3E #3EC87A
tetradic
#7A3EC8 #C83E47 #8CC83E #3EC8BF
square
#7A3EC8 #C83E47 #8CC83E #3EC8BF
split-complementary
#7A3EC8 #C8BF3E #47C83E
monochromatic
#411F6D #5D2D9C #7A3EC8 #9B6ED6 #BC9DE3

Accessibility & contrast

On white

6.27
#7A3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7A3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EC8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EC8#FFFFFF#000000##FFFFFF
##7A3EC81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#685F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3ec8;
/* rgb */ color: rgb(122, 62, 200);
/* oklch */ color: oklch(51.3% 0.203 299.0);
Tailwind
colors: {
  custom: {
    50: '#a678da',
    500: '#7a3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ec8;
$custom-light: #a678da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ec8",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 266.087,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.20254,
    "h": 299
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#7A3EC8
secondary
#B5CF92
accent
#DF499E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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