#7A3FCA#7A3FCA

#7A3FCA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.204 H 298.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7A3FCA
RGBrgb(122, 63, 202)
HSLhsl(265, 57%, 52%)
HSVhsv(265, 69%, 79%)
CMYKcmyk(39.6%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.15, 53.34, -62.75)
CIE-LCHlch(41.15, 82.36, 310.37°)
OKLaboklab(51.62% 0.0967 -0.1791)
OKLCHoklch(51.62% 0.204 298.4)
XYZxyz(20.4615, 11.9566, 57.0955)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FCA #8FCA3F
analogous
#3F49CA #7A3FCA #C03FCA
triadic
#7A3FCA #CA7A3F #3FCA7A
tetradic
#7A3FCA #CA3F49 #8FCA3F #3FCAC0
square
#7A3FCA #CA3F49 #8FCA3F #3FCAC0
split-complementary
#7A3FCA #CAC03F #49CA3F
monochromatic
#411F70 #5D2CA0 #7A3FCA #9B6FD7 #BC9FE4

Accessibility & contrast

On white

6.19
#7A3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7A3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FCA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FCA#FFFFFF#000000##FFFFFF
##7A3FCA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#676080
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3fca;
/* rgb */ color: rgb(122, 63, 202);
/* oklch */ color: oklch(51.6% 0.204 298.4);
Tailwind
colors: {
  custom: {
    50: '#a778db',
    500: '#7a3fca',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fca;
$custom-light: #a778db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fca",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 265.468,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.20353,
    "h": 298.4
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#7A3FCA
secondary
#B7D194
accent
#E0489F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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