#7A3ECF#7A3ECF

#7A3ECF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.210 H 297.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A3ECF
RGBrgb(122, 62, 207)
HSLhsl(265, 60%, 53%)
HSVhsv(265, 70%, 81%)
CMYKcmyk(41.1%, 70%, 0%, 18.8%)
CIE-LABlab(41.35, 55.09, -65.30)
CIE-LCHlch(41.35, 85.44, 310.15°)
OKLaboklab(51.88% 0.0969 -0.1866)
OKLCHoklch(51.88% 0.21 297.4)
XYZxyz(21.0082, 12.0874, 60.2457)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3ECF #93CF3E
analogous
#3E4ACF #7A3ECF #C33ECF
triadic
#7A3ECF #CF7A3E #3ECF7A
tetradic
#7A3ECF #CF3E4A #93CF3E #3ECFC3
square
#7A3ECF #CF3E4A #93CF3E #3ECFC3
split-complementary
#7A3ECF #CFC33E #4ACF3E
monochromatic
#421D75 #5D29A6 #7A3ECF #9C6FDB #BEA0E7

Accessibility & contrast

On white

6.14
#7A3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7A3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3ECF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3ECF#FFFFFF#000000##FFFFFF
##7A3ECF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#656282
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3ecf;
/* rgb */ color: rgb(122, 62, 207);
/* oklch */ color: oklch(51.9% 0.210 297.4);
Tailwind
colors: {
  custom: {
    50: '#a778df',
    500: '#7a3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ecf;
$custom-light: #a778df;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ecf",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 264.828,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.21023,
    "h": 297.4
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#7A3ECF
secondary
#BAD495
accent
#E344A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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