#7A3DC0#7A3DC0

#7A3DC0 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.195 H 300.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7A3DC0
RGBrgb(122, 61, 192)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(36.5%, 68.2%, 0%, 24.7%)
CIE-LABlab(40.05, 51.82, -58.71)
CIE-LCHlch(40.05, 78.31, 311.43°)
OKLaboklab(50.6% 0.1003 -0.1672)
OKLCHoklch(50.6% 0.195 300.9)
XYZxyz(19.2069, 11.2807, 51.0244)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC0 #83C03D
analogous
#3D41C0 #7A3DC0 #BC3DC0
triadic
#7A3DC0 #C07A3D #3DC07A
tetradic
#7A3DC0 #C03D41 #83C03D #3DC0BC
square
#7A3DC0 #C03D41 #83C03D #3DC0BC
split-complementary
#7A3DC0 #C0BC3D #41C03D
monochromatic
#3F1F63 #5C2E92 #7A3DC0 #9A6AD0 #B999DF

Accessibility & contrast

On white

6.45
#7A3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A3DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC0#FFFFFF#000000##FFFFFF
##7A3DC01.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#6B5C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3dc0;
/* rgb */ color: rgb(122, 61, 192);
/* oklch */ color: oklch(50.6% 0.195 300.9);
Tailwind
colors: {
  custom: {
    50: '#a677d4',
    500: '#7a3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc0;
$custom-light: #a677d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc0",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 267.939,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.19496,
    "h": 300.9
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#7A3DC0
secondary
#AECA8E
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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