#7A3FCC#7A3FCC

#7A3FCC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.206 H 297.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7A3FCC
RGBrgb(122, 63, 204)
HSLhsl(265, 58%, 52%)
HSVhsv(265, 69%, 80%)
CMYKcmyk(40.2%, 69.1%, 0%, 20%)
CIE-LABlab(41.30, 53.85, -63.66)
CIE-LCHlch(41.30, 83.38, 310.23°)
OKLaboklab(51.77% 0.0964 -0.1818)
OKLCHoklch(51.77% 0.206 297.9)
XYZxyz(20.6998, 12.0519, 58.3507)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FCC #91CC3F
analogous
#3F4BCC #7A3FCC #C03FCC
triadic
#7A3FCC #CC7A3F #3FCC7A
tetradic
#7A3FCC #CC3F4B #91CC3F #3FCCC0
square
#7A3FCC #CC3F4B #91CC3F #3FCCC0
split-complementary
#7A3FCC #CCC03F #4BCC3F
monochromatic
#411E72 #5D2BA3 #7A3FCC #9B6FD9 #BDA0E6

Accessibility & contrast

On white

6.16
#7A3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7A3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FCC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FCC#FFFFFF#000000##FFFFFF
##7A3FCC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#666181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3fcc;
/* rgb */ color: rgb(122, 63, 204);
/* oklch */ color: oklch(51.8% 0.206 297.9);
Tailwind
colors: {
  custom: {
    50: '#a778dc',
    500: '#7a3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fcc;
$custom-light: #a778dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fcc",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 265.106,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.20575,
    "h": 297.9
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#7A3FCC
secondary
#B8D295
accent
#E147A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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