#7A4CDE#7A4CDE

#7A4CDE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.210 H 292.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A4CDE
RGBrgb(122, 76, 222)
HSLhsl(259, 69%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(45%, 65.8%, 0%, 12.9%)
CIE-LABlab(45.05, 51.95, -67.89)
CIE-LCHlch(45.05, 85.48, 307.43°)
OKLaboklab(54.89% 0.0808 -0.1942)
OKLCHoklch(54.89% 0.21 292.6)
XYZxyz(23.7917, 14.5796, 70.6537)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CDE #B0DE4C
analogous
#4C67DE #7A4CDE #C34CDE
triadic
#7A4CDE #DE7A4C #4CDE7A
tetradic
#7A4CDE #DE4C67 #B0DE4C #4CDEC3
square
#7A4CDE #DE4C67 #B0DE4C #4CDEC3
split-complementary
#7A4CDE #DEC34C #67DE4C
monochromatic
#411B94 #5825C8 #7A4CDE #A080E8 #C7B3F1

Accessibility & contrast

On white

5.36
#7A4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7A4CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CDE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CDE#FFFFFF#000000##FFFFFF
##7A4CDE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5C6F8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4cde;
/* rgb */ color: rgb(122, 76, 222);
/* oklch */ color: oklch(54.9% 0.210 292.6);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7a4cde',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cde;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cde",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 258.904,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.21035,
    "h": 292.6
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#7A4CDE
secondary
#CEE0A6
accent
#EC3CB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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