#7A3DCE#7A3DCE

#7A3DCE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.210 H 297.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7A3DCE
RGBrgb(122, 61, 206)
HSLhsl(265, 60%, 52%)
HSVhsv(265, 70%, 81%)
CMYKcmyk(40.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(41.11, 55.32, -65.13)
CIE-LCHlch(41.11, 85.45, 310.34°)
OKLaboklab(51.68% 0.098 -0.1861)
OKLCHoklch(51.68% 0.21 297.8)
XYZxyz(20.8325, 11.9309, 59.5859)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DCE #91CE3D
analogous
#3D49CE #7A3DCE #C23DCE
triadic
#7A3DCE #CE7A3D #3DCE7A
tetradic
#7A3DCE #CE3D49 #91CE3D #3DCEC2
square
#7A3DCE #CE3D49 #91CE3D #3DCEC2
split-complementary
#7A3DCE #CEC23D #49CE3D
monochromatic
#411D73 #5D29A4 #7A3DCE #9B6EDA #BD9FE7

Accessibility & contrast

On white

6.20
#7A3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3DCE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DCE#FFFFFF#000000##FFFFFF
##7A3DCE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#656181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3dce;
/* rgb */ color: rgb(122, 61, 206);
/* oklch */ color: oklch(51.7% 0.210 297.8);
Tailwind
colors: {
  custom: {
    50: '#a777de',
    500: '#7a3dce',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dce;
$custom-light: #a777de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dce",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 265.241,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.21031,
    "h": 297.8
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#7A3DCE
secondary
#B8D394
accent
#E345A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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