#7A3DCF#7A3DCF

#7A3DCF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.211 H 297.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7A3DCF
RGBrgb(122, 61, 207)
HSLhsl(265, 60%, 53%)
HSVhsv(265, 71%, 81%)
CMYKcmyk(41.1%, 70.5%, 0%, 18.8%)
CIE-LABlab(41.18, 55.57, -65.58)
CIE-LCHlch(41.18, 85.96, 310.28°)
OKLaboklab(51.76% 0.0978 -0.1874)
OKLCHoklch(51.76% 0.211 297.6)
XYZxyz(20.9544, 11.9797, 60.2277)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DCF #92CF3D
analogous
#3D49CF #7A3DCF #C33DCF
triadic
#7A3DCF #CF7A3D #3DCF7A
tetradic
#7A3DCF #CF3D49 #92CF3D #3DCFC3
square
#7A3DCF #CF3D49 #92CF3D #3DCFC3
split-complementary
#7A3DCF #CFC33D #49CF3D
monochromatic
#421D75 #5D29A6 #7A3DCF #9C6EDB #BD9FE7

Accessibility & contrast

On white

6.18
#7A3DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7A3DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DCF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DCF#FFFFFF#000000##FFFFFF
##7A3DCF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#656182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3dcf;
/* rgb */ color: rgb(122, 61, 207);
/* oklch */ color: oklch(51.8% 0.211 297.6);
Tailwind
colors: {
  custom: {
    50: '#a777df',
    500: '#7a3dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dcf;
$custom-light: #a777df;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dcf",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 265.068,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.2114,
    "h": 297.6
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#7A3DCF
secondary
#B9D494
accent
#E344A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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