#7A3FCE#7A3FCE

#7A3FCE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.208 H 297.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7A3FCE
RGBrgb(122, 63, 206)
HSLhsl(265, 59%, 53%)
HSVhsv(265, 69%, 81%)
CMYKcmyk(40.8%, 69.4%, 0%, 19.2%)
CIE-LABlab(41.45, 54.35, -64.57)
CIE-LCHlch(41.45, 84.40, 310.09°)
OKLaboklab(51.93% 0.0961 -0.1844)
OKLCHoklch(51.93% 0.208 297.5)
XYZxyz(20.9412, 12.1485, 59.6221)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FCE #93CE3F
analogous
#3F4CCE #7A3FCE #C13FCE
triadic
#7A3FCE #CE7A3F #3FCE7A
tetradic
#7A3FCE #CE3F4C #93CE3F #3FCEC1
square
#7A3FCE #CE3F4C #93CE3F #3FCEC1
split-complementary
#7A3FCE #CEC13F #4CCE3F
monochromatic
#421E75 #5D2AA6 #7A3FCE #9C70DA #BEA1E7

Accessibility & contrast

On white

6.12
#7A3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7A3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FCE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FCE#FFFFFF#000000##FFFFFF
##7A3FCE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#656282
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3fce;
/* rgb */ color: rgb(122, 63, 206);
/* oklch */ color: oklch(51.9% 0.208 297.5);
Tailwind
colors: {
  custom: {
    50: '#a779de',
    500: '#7a3fce',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fce;
$custom-light: #a779de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fce",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 264.755,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.20796,
    "h": 297.5
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#7A3FCE
secondary
#BAD395
accent
#E345A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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