#7A3CDC#7A3CDC

#7A3CDC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.227 H 295.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7A3CDC
RGBrgb(122, 60, 220)
HSLhsl(263, 70%, 55%)
HSVhsv(263, 73%, 86%)
CMYKcmyk(44.5%, 72.7%, 0%, 13.7%)
CIE-LABlab(42.06, 59.32, -71.63)
CIE-LCHlch(42.06, 93.01, 309.63°)
OKLaboklab(52.7% 0.0961 -0.2052)
OKLCHoklch(52.7% 0.227 295.1)
XYZxyz(22.5567, 12.5360, 68.9275)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CDC #9EDC3C
analogous
#3C4EDC #7A3CDC #CA3CDC
triadic
#7A3CDC #DC7A3C #3CDC7A
tetradic
#7A3CDC #DC3C4E #9EDC3C #3CDCCA
square
#7A3CDC #DC3C4E #9EDC3C #3CDCCA
split-complementary
#7A3CDC #DCCA3C #4EDC3C
monochromatic
#421886 #5C21BA #7A3CDC #9D70E5 #C1A4EF

Accessibility & contrast

On white

5.99
#7A3CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7A3CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CDC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CDC#FFFFFF#000000##FFFFFF
##7A3CDC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#5E6689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a3cdc;
/* rgb */ color: rgb(122, 60, 220);
/* oklch */ color: oklch(52.7% 0.227 295.1);
Tailwind
colors: {
  custom: {
    50: '#a977e8',
    500: '#7a3cdc',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cdc;
$custom-light: #a977e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cdc",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 220
  },
  "hsl": {
    "h": 263.25,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.22655,
    "h": 295.1
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#7A3CDC
secondary
#C1DC98
accent
#EC3BA8
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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