#7A3DC8#7A3DC8

#7A3DC8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.204 H 299.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7A3DC8
RGBrgb(122, 61, 200)
HSLhsl(266, 56%, 51%)
HSVhsv(266, 70%, 78%)
CMYKcmyk(39%, 69.5%, 0%, 21.6%)
CIE-LABlab(40.65, 53.81, -62.40)
CIE-LCHlch(40.65, 82.40, 310.77°)
OKLaboklab(51.21% 0.0991 -0.1781)
OKLCHoklch(51.21% 0.204 299.1)
XYZxyz(20.1175, 11.6449, 55.8202)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC8 #8BC83D
analogous
#3D45C8 #7A3DC8 #BF3DC8
triadic
#7A3DC8 #C87A3D #3DC87A
tetradic
#7A3DC8 #C83D45 #8BC83D #3DC8BF
square
#7A3DC8 #C83D45 #8BC83D #3DC8BF
split-complementary
#7A3DC8 #C8BF3D #45C83D
monochromatic
#411F6C #5D2C9C #7A3DC8 #9B6DD6 #BB9CE3

Accessibility & contrast

On white

6.31
#7A3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC8#FFFFFF#000000##FFFFFF
##7A3DC81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.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: #7a3dc8;
/* rgb */ color: rgb(122, 61, 200);
/* oklch */ color: oklch(51.2% 0.204 299.1);
Tailwind
colors: {
  custom: {
    50: '#a777da',
    500: '#7a3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc8;
$custom-light: #a777da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc8",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 266.331,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.20376,
    "h": 299.1
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#7A3DC8
secondary
#B4CF92
accent
#DF499D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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