#7A4FCB#7A4FCB

#7A4FCB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.184 H 295.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7A4FCB
RGBrgb(122, 79, 203)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(39.9%, 61.1%, 0%, 20.4%)
CIE-LABlab(44.29, 45.24, -58.23)
CIE-LCHlch(44.29, 73.74, 307.84°)
OKLaboklab(53.91% 0.0793 -0.1658)
OKLCHoklch(53.91% 0.184 295.6)
XYZxyz(21.5987, 14.0409, 58.0605)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FCB #A0CB4F
analogous
#4F62CB #7A4FCB #B84FCB
triadic
#7A4FCB #CB7A4F #4FCB7A
tetradic
#7A4FCB #CB4F62 #A0CB4F #4FCBB8
square
#7A4FCB #CB4F62 #A0CB4F #4FCBB8
split-complementary
#7A4FCB #CBB84F #62CB4F
monochromatic
#42247B #5C32AA #7A4FCB #9E7ED9 #C1ADE7

Accessibility & contrast

On white

5.51
#7A4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7A4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FCB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FCB#FFFFFF#000000##FFFFFF
##7A4FCB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#666B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4fcb;
/* rgb */ color: rgb(122, 79, 203);
/* oklch */ color: oklch(53.9% 0.184 295.6);
Tailwind
colors: {
  custom: {
    50: '#a682dc',
    500: '#7a4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fcb;
$custom-light: #a682dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fcb",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 260.806,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53908,
    "c": 0.18382,
    "h": 295.6
  },
  "luminance": 0.14041
}

Semantic roles & 50–950 ramp

primary
#7A4FCB
secondary
#C3D5A1
accent
#DE4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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